Skip to content
Snippets Groups Projects
Commit a765b10a authored by I Kadek Yuda Budipratama Giri's avatar I Kadek Yuda Budipratama Giri
Browse files

Update README.md

parent 02ac869d
No related merge requests found
......@@ -14,22 +14,23 @@ npm start
## File Structure
```
src
+-- config
| +-- config.js (Secret key & expiration JWT. Add Role string here when adding new role.)
| +-- db.config.js (Database and Sequelize config)
| +-- env.js (Wrapper for env variables)
|
+-- controller
| +-- *Controller.js (Add your controllers here)
|
+-- model
| +-- *.model.js (Add models here and follow the name convention)
|
+-- router
| +-- router.js (Routing goes here)
| +-- verifyJwtToken.js (Middleware functions involving JWT token should go here)
| +-- verifySignUp.js (Middleware functions involving Sign Up)
+-- app.js
.env.example (Example of .env file. Please copy this to .env and set it to your env)
backend
+-- src
| +-- config
| | +-- config.js (Secret key & expiration JWT. Add Role string here when adding new role.)
| | +-- db.config.js (Database and Sequelize config)
| | +-- env.js (Wrapper for env variables)
| |
| +-- controller
| | +-- *Controller.js (Add your controllers here)
| |
| +-- model
| | +-- *.model.js (Add models here and follow the name convention)
| |
| +-- router
| | +-- router.js (Routing goes here)
| | +-- verifyJwtToken.js (Middleware functions involving JWT token should go here)
| | +-- verifySignUp.js (Middleware functions involving Sign Up)
| +-- app.js
+-- .env.example (Example of .env file. Please copy this to .env and set it to your env)
```
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment