A simple REST API built with node js and typescrypt.
Technologies
- Express
- Mongo DB
- Nodemailer
- nodemailer-express-handlebars
- JWT
First create and full fill the .env file, use the .env.example as an example of wich enviroments variables must be set.
You can use mailtrap.io to test the reset password functionality, once that it depends of the enviroments variables: MAIL_HOST, MAIL_PORT, MAIL_USER and MAIL_PASS. With mailtrap you can create a fake smtp server. But if prefer you can use gmail too.
Install the dependecies
yarn
or npm install
Start the application
yarn dev
or npm run dev