From a765b10a9110d1ca84e76c981ed8d7e2885f089a Mon Sep 17 00:00:00 2001 From: I Kadek Yuda Budipratama Giri <13516115@std.stei.itb.ac.id> Date: Sun, 24 Mar 2019 00:02:36 +0700 Subject: [PATCH] Update README.md --- backend/README.md | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/backend/README.md b/backend/README.md index fc1cf5f..ab00c34 100644 --- a/backend/README.md +++ b/backend/README.md @@ -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 -- GitLab