Node Js Application Structure
This repository lets you help to start with node js application. I have provide baisc authentication, authorization and sequelize integration
Installation
Run application
npm run dev (for development)
npm start (for production)
Postman document generation
docgen build -i postman_collection.json -o index.html
LINK Transform your postman collection to html documentation
Other libraries
npm install -g win-node-env
LINK Run npm scripts on Windows that set (common) environment variables.
npm i –D nodemon
LINK nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected.
nodemon does not require any additional changes to your code or method of development. nodemon is a replacement wrapper for node, to use nodemon replace the word node on the command line when executing your script.
npm i express
LINK Fast, unopinionated, minimalist web framework for node.
npm i dotenv
LINK Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env. Storing configuration in the environment separate from code is based on The Twelve-Factor App methodology.
npm i morgan
LINK HTTP request logger middleware for node.js
npm i colors