File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ Authentication Flow uses `json web tokens` via Passport library - `passport-jwt`
47
47
48
48
## ✨ How to use the code
49
49
50
- > ** Step # 1 ** - Clone the project
50
+ > ** Step 1** - Clone the project
51
51
52
52
``` bash
53
53
$ git clone https://github.com/app-generator/api-server-nodejs.git
@@ -56,7 +56,7 @@ $ cd api-server-nodejs
56
56
57
57
<br />
58
58
59
- > ** Step # 2 ** - Install dependencies via NPM or Yarn
59
+ > ** Step 2** - Install dependencies via NPM or Yarn
60
60
61
61
``` bash
62
62
$ npm i
@@ -66,38 +66,38 @@ $ yarn
66
66
67
67
<br />
68
68
69
- > ** Step # 3 ** - Run the SQLite migration via TypeORM
69
+ > ** Step 3** - Run the SQLite migration via TypeORM
70
70
71
71
```
72
72
$ yarn typeorm migration:run
73
73
```
74
74
75
75
<br />
76
76
77
- > ** Step # 4 ** - Start the API server (development mode)
77
+ > ** Step 4** - Start the API server (development mode)
78
78
79
79
``` bash
80
- $ npm dev
80
+ $ npm run dev
81
81
// OR
82
82
$ yarn dev
83
83
```
84
84
85
85
<br />
86
86
87
- > ** Step # 5 ** - Production Build (files generated in ` build ` directory)
87
+ > ** Step 5** - Production Build (files generated in ` build ` directory)
88
88
89
89
``` bash
90
- $ npm build
90
+ $ npm run build
91
91
// OR
92
92
$ yarn build
93
93
```
94
94
95
95
<br />
96
96
97
- > ** Step # 6 ** - Start the API server for production (files served from ` build/index.js ` )
97
+ > ** Step 6** - Start the API server for production (files served from ` build/index.js ` )
98
98
99
99
``` bash
100
- $ npm start
100
+ $ npm run start
101
101
// OR
102
102
$ yarn start
103
103
```
You can’t perform that action at this time.
0 commit comments