This is a password recovery project where the user uses his/her email to reset the password.
Explore the docs »
·
Report Bug
·
Request Feature
I wanted to practice the password recovery feature, which is one of the core features of applications that have authentication. This also helped me to improve writing unitary tests using jest and configure a mail provider for the development environment.
I decided to use nodemailer with ethereal, which are great tools to help you work with the email part of your application.
The other tools are basically what I've been using lately, such as, typeorm, express, and so on.
- Typescript
- Express
- Typeorm
- Bcrypt
- Uuid
- Tsyringe
- Jest
- Date-Fns
- Nodemailer
- Ethereal
- JWT
- Class-Transformer
- Clone the repo
git clone https://github.com/lucfersan/password-recovery
- Install NPM packages
yarn
- Create a docker container
docker run --name password_recovery -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres
- Create database named: password_recovery
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Lucas Fernandes - fernandes.lucas11@outlook.com