@@ -8,21 +8,22 @@ Authentication Flow uses `json web tokens` via Passport library - `passport-jwt`
8
8
9
9
> Features:
10
10
11
- - [ API Definition] ( https://docs.appseed.us/boilerplate-code/api-unified-definition ) - the unified API structure implemented by this server
12
- - Simple, intuitive codebase - can be extended with ease.
13
- - TypeScript, Joy for validation
14
- - ** Stack** : NodeJS / Express / SQLite / TypeORM
15
- - Auth: Passport / ` passport-jwt ` strategy
11
+ - ✅ [ API Definition] ( https://docs.appseed.us/boilerplate-code/api-unified-definition ) - the unified API structure implemented by this server
12
+ - ✅ Simple, intuitive codebase - can be extended with ease.
13
+ - ✅ ` TypeScript ` , ` Joy ` for validation
14
+ - ✅ ** Stack** : NodeJS / Express / SQLite / TypeORM
15
+ - ✅ Auth: Passport / ` passport-jwt ` strategy
16
16
17
17
<br />
18
18
19
19
> Tested with:
20
20
21
- | NodeJS | NPM | YARN | Status |
22
- | --- | --- | --- | --- |
23
- | ` v17.0.0 ` | ` v8.11.0 ` | ` v1.22.18 ` | ✔️ |
24
- | ` v16.15.1 ` | ` v8.11.0 ` | ` v1.22.18 ` | ✔️ |
25
- | ` v16.13.0 ` | ` v8.1.0 ` | ` v1.22.5 ` | ✔️ |
21
+ | NodeJS | NPM | YARN |
22
+ | --- | --- | --- |
23
+ | ` v18.0.0 ` | ❌ | ✅ |
24
+ | ` v17.0.0 ` | ❌ | ✅ |
25
+ | ` v16.13.0 ` | ❌ | ✅ |
26
+ | ` v16.0.0 ` | ❌ | ❌ |
26
27
27
28
<br />
28
29
@@ -56,11 +57,9 @@ $ cd api-server-nodejs
56
57
57
58
<br />
58
59
59
- > ** Step 2** - Install dependencies via NPM or Yarn
60
+ > ** Step 2** - Install dependencies via ` Yarn `
60
61
61
62
``` bash
62
- $ npm i
63
- // OR
64
63
$ yarn
65
64
```
66
65
@@ -77,8 +76,6 @@ $ yarn typeorm migration:run
77
76
> ** Step 4** - Start the API server (development mode)
78
77
79
78
``` bash
80
- $ npm run dev
81
- // OR
82
79
$ yarn dev
83
80
```
84
81
@@ -87,8 +84,6 @@ $ yarn dev
87
84
> ** Step 5** - Production Build (files generated in ` build ` directory)
88
85
89
86
``` bash
90
- $ npm run build
91
- // OR
92
87
$ yarn build
93
88
```
94
89
@@ -97,8 +92,6 @@ $ yarn build
97
92
> ** Step 6** - Start the API server for production (files served from ` build/index.js ` )
98
93
99
94
``` bash
100
- $ npm run start
101
- // OR
102
95
$ yarn start
103
96
```
104
97
0 commit comments