- API - ExpressJs
- Database - PostgreSql
- ORM - Sequelize
- Authentication - JSON Web Tokens
express
- Create the REST-API
sequelize
- ORM
pg
pg-hstore
- Support for postgresql database
jsonwebtoken
passport
passport-jwt
- packages for authentication
bcrypt
cookie-parser
dot-env
body-parser
cors
- Some useful packages
nodemon
- Auto restart development server
|- config
|- controllers
|- models
|- routes
|> index.js
-
PORT -> Server running port
-
DB_NAME -> Database Name
-
DB_USER -> Database Username
-
DB_PASSWORD -> Database Password
-
ACCESS_TOKEN_SECRET -> Secret for create the access token (JWT)
-
REFRESH_TOKEN_SECRET -> Secret for create the refresh token (JWT)