We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d66fea commit d1a7609Copy full SHA for d1a7609
session 6/chapters/2. Init server.md
@@ -18,25 +18,4 @@ npm i --save-dev @types/cors @types/express @types/express-fileupload
18
19
# Folder Structure
20
21
-# Initialize server
22
-
23
-create two files in src directory
24
25
-1. index.ts
26
-2. app.ts
27
28
-`index.ts` will import application from `app.ts` and start the server.
29
30
-add following to `index.ts`
31
32
-```ts
33
-import * as dotenv from 'dotenv';
34
-dotenv.config();
35
36
-import Application from './app';
37
38
-(async () => {
39
- const app = Application.instance();
40
- await app.start();
41
-})();
42
-```
+You can find boilerplate code for this tutorial [here](https://github.com/Gambitier/typescript-node-express-boilerplate)
0 commit comments