Skip to content

Releases: Monge1h/sendthistomyfuture.me

First version of backend

21 Mar 19:10
b6f2267
Compare
Choose a tag to compare
Dev backend (#8)

* Feature/mongoose (#1)

* ➕ Add mongoose dependency

* ➕ Add @nestjs/config dependency

* 🔧 Add .env files to .gitignore

* ✨ Add database module

* ✨ Add config module

* 🔧 Add types to config module

* ➕ Add joi dependency

* 🔧 Add type validation to enviroment variables

* ✨ database.module running!

* Feature/save mail (#2)

* 🔧 Add global prefix "api" to project

* ➕ Add @nestjs/mapped-types dependency

* ✨ Add mail module

* ➕ Add class-validator dependency

* ✨ Add mail entity

* ✨ Add Mail schema to mail module

* ✨ Add validation to mail dto

* ✨ Add mongo to mail service

* 🔧 Add validation based on dtos

* Feature/encript (#3)

* ➕ Add crypto-js dependency

* ✨ Add crypto functions

* 🔧 Add secret_key to config.ts

* 🔧 validate secret key on .env

* ✨ encrypt mail and body

* Feature/verification email (#4)

* ➕ add nodemailer dependency

* 🔧 Add enviroment variables for email

* ➕ Add nestjs-modules/mailer dependency

* 🔧 Add email variables to config.ts

* ✨ Import MailerModule on mails module

* ✨ Add hashUrl function

* 🔧 Add client_url env varieble to config.ts

* 🔧 Add client_url variable to validation schema

* ✨ Send verification email

* Feature/verify email (#5)

* ✏️ Fix typo in mail.entity.ts

* ✨ Add service and controller to verificate email

* Feature/cron (#6)

* ➕ Add luxon dependency

* ➖ Remove crypto-js and add cryptr to dependency

* 🔧 Add "esModuleInterop: true" to tsconfig.json

* 💥 Change logic of encrypt and decrypt

* ➕ Add @nestjs/schedule dependency

* 🔧 Add ScheduleModule to mail.module

* ✨ Implement cronTask to send today's email

* Feature/docker (#7)

* 🔧 Add mongo_data to .env file

* 🔧 Add database .env variables to config.ts

* 🗃️ Add enviroment variables to connect to mongo

* 🐋Add docker file and docker compose!

* 🔧Change docker file