- Node.js
- MongoDB with Mongoose
- Typescript
- Express and express middleware
- The project have as goal create a User and make secure authentication, User can create many posts after is logged into system.
- Dowload the project in Github
- Install dependeces (yarn add or npm install)
- Set the environment variable into 'config' folder
. Create file named 'default' into root folder of project and paste e set values in this environment variables:
export default {
port: ,
host: ,
dbUri: ,
saltWorkFactor: ,
acessTokenTtl: ,
refreshTokenTtl:,
privateKey:,
} - Execute the command to run the project 'npm run dev'