- src folder contain all models , endpoints and server configuration files.
- public folder contain all static files for serving.
- .env file is used to stored confidential information.
- .gitignore file is used to ignore files on github.
- package.json file is Node JS file which store information about dependencies.
- package-lock.json file is Node Js file which store information about url from which we will download that dependencies.
- app.js file is Main Node Js file which import routes , create database connection and start's server.
- .eslintignore file is use for ignoring folder which we don't want to lint.
- .eslintrc.js file is use for configuring eslint rules.
- .babelrc file is use for configuring babel js for transpiling code.
- nodemon.json file is responsible for configuring nodemon.
- I will use prettier plugin of vscode for beautify code.
- I will use eslint rules for linting code created by different developers.
- I will create test case for endpoint by using jest test for load testing.
- I will always try comment my code and i will write clean code.
- I will create endpoints and method with proper naming i.e /user/login , /user/signup , userLogin().
- I will used camelCase notation when declaring variable, creating functions and i have used pascal case when creating classes.
- I will used let and const keyword , and i will create service for db operations and i will use async/await for avoiding callback hell.
- I will save my all JS files in camel case with proper naming.
- I will used Babel JS for transpile the code.
- I will create validation use for db models and api endpoints.
- I will add hard coded keywords in constant.js file.
- I will use ES6+ syntax.
- I will use Amazon Web Service S3 Storage for storing images , Mongodb atlas for mongodb database and Amazon Web Service Elastic BeanStalk for deploying backend.
- I will use AWS Code Deploy for CI/CD.