File tree Expand file tree Collapse file tree 2 files changed +32
-19
lines changed Expand file tree Collapse file tree 2 files changed +32
-19
lines changed Original file line number Diff line number Diff line change 11# Change Log
22
3+ ## [ 0.0.7] 2021-07-09
4+ ### Improvements
5+
6+ - Added typescript support
7+
38## [ 0.0.6] 2021-07-07
49### Improvements
510
Original file line number Diff line number Diff line change @@ -42,7 +42,15 @@ $ npm i
4242$ yarn
4343```
4444
45- ** Start the API server**
45+ ** Start the API server** - development mode
46+
47+ ``` bash
48+ $ npm dev
49+ // OR
50+ $ yarn dev
51+ ```
52+
53+ ** Start the API server** - for production (files served from ` build/build/index.js ` )
4654
4755``` bash
4856$ npm start
@@ -57,24 +65,24 @@ The API server will start using the `PORT` specified in `.env` file (default 500
5765## Codebase Structure
5866
5967``` bash
60- < PROJECT ROOT >
61- |
62- | -- config/
63- | | -- config.js # Configuration
64- | | -- passport.js # Define Passport Strategy
65- |
66- | -- models/
67- | | -- activeSession.js # Sessions Model (Mongo)
68- | | -- user.js # User Model (Mongo)
69- |
70- | -- routes/
71- | | -- users.js # Define Users API Routes
72- |
73- |
74- | -- api .js # API Entry Point
75- | -- .env # Specify the ENV variables
76- |
77- | -- ************************************************************************
68+ < ROOT / src >
69+ |
70+ | -- config/
71+ | | -- config.ts # Configuration
72+ | | -- passport.ts # Define Passport Strategy
73+ |
74+ | -- models/
75+ | | -- activeSession.ts # Sessions Model (Mongo)
76+ | | -- user.ts # User Model (Mongo)
77+ |
78+ | -- routes/
79+ | | -- users.ts # Define Users API Routes
80+ |
81+ |
82+ | -- index .js # API Entry Point
83+ | -- .env # Specify the ENV variables
84+ |
85+ | -- ************************************************************************
7886```
7987
8088<br />
You can’t perform that action at this time.
0 commit comments