A Rest API of the email triggering tool made by Léu Almeida for @educacaometodista
Dependencies | Security and Prevent errors |
---|---|
Nodemon | Bcrypt |
Bee-queue | Dotenv |
Convert Excel to Json | CORS |
Pg and pg-hstore | JWT |
Sequelize | Sentry |
Crypto | Youch |
Express | Yup |
Multer | Path |
Node-schedule |
With this API you can make secure and fast email triggers with Nodemailer. The session control is done via JWT and queues are maintained with Redis and Bee Queue. The database used is PostgreSQL for relational information control.
📫 Check out the Front End application developed for this application.
Requeriments:
- NodeJS >= 10.16.3
- Yarn >= 1.19.1
- Docker >= 19.03.3
- PostgreSQL Docker Image
- Redis Alpine Docker Image
// Clone the project
$ git clone https://github.com/LeuAlmeida/mail.sender.api.git
// Entering the folder
$ cd mail.sender.api
// Installing the dependencies
$ yarn
In the first terminal:
$ yarn dev
In the second terminal:
$ yarn queue