@@ -8,21 +8,22 @@ Authentication Flow uses `json web tokens` via Passport library - `passport-jwt`
88
99> Features:
1010
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
1616
1717<br />
1818
1919> Tested with:
2020
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 ` | ❌ | ❌ |
2627
2728<br />
2829
@@ -56,11 +57,9 @@ $ cd api-server-nodejs
5657
5758<br />
5859
59- > ** Step 2** - Install dependencies via NPM or Yarn
60+ > ** Step 2** - Install dependencies via ` Yarn `
6061
6162``` bash
62- $ npm i
63- // OR
6463$ yarn
6564```
6665
@@ -77,8 +76,6 @@ $ yarn typeorm migration:run
7776> ** Step 4** - Start the API server (development mode)
7877
7978``` bash
80- $ npm run dev
81- // OR
8279$ yarn dev
8380```
8481
@@ -87,8 +84,6 @@ $ yarn dev
8784> ** Step 5** - Production Build (files generated in ` build ` directory)
8885
8986``` bash
90- $ npm run build
91- // OR
9287$ yarn build
9388```
9489
@@ -97,8 +92,6 @@ $ yarn build
9792> ** Step 6** - Start the API server for production (files served from ` build/index.js ` )
9893
9994``` bash
100- $ npm run start
101- // OR
10295$ yarn start
10396```
10497
0 commit comments