File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ Steps:
15
15
16
16
create a directory using command
17
17
```` diff
18
- mkdir nodejs-expressjs-restapi-sequelizorm-mysql-db
18
+ mkdir nodejs-expressjs-restapi-sequelizorm-mysql-db
19
19
````
20
20
21
21
2 . navigate to the directory using command
22
22
```` diff
23
- cd nodejs-expressjs-restapi-sequelizorm-mysql-db
23
+ cd nodejs-expressjs-restapi-sequelizorm-mysql-db
24
24
````
25
25
3 . open the directory in CMD Line Interface(if not opened in CMD) and run
26
26
````diff
27
- npm init
27
+ npm init
28
28
````
29
29
30
30
Answer the questions like these:
52
52
4 . Install necessary modules: express, sequelize, mysql2 and cors.
53
53
Run the command:
54
54
```` diff
55
- npm install express sequelize mysql2 cors --save
55
+ npm install express sequelize mysql2 cors --save
56
56
````
57
57
Check package.json updated.
58
58
@@ -115,7 +115,7 @@ var db = require("./app/models");
115
115
116
116
117
117
118
- ````diff
118
+ ````
119
119
120
120
This sets up a basic Express server with middleware to parse JSON and urlencoded data, and enable CORS.
121
121
It also defines a simple / route that sends a "Hello, world!" message.
You can’t perform that action at this time.
0 commit comments