Here is a login page backend
๐ DOING
๐ DONE (for now) โ
- refactor and adapt to the node template
- create the TODO.md and README.me
- do some PostgreSQL (with Docker), probably use the typeORM with it for some DB configuration in the database folder
- start working with tsyringe for depencency injection
- FIX: Error when throwing AppError
- implement some tests for the services with JestJS
- creating .env and .env.example for environment configurations
- configure Insomnia with all the routes and facilities and goodies and resources that will help me in the development process
- configure the password for more security: encrypt and delete the password typed by the user
- create the auth user route
- use the "ShowUserDTO" to retun the users in the routes that is not used yet
- make sure auth is working fine
- create the ensure auth in the middlewares to run in the routes that needs auth
- make sure the auth route and auth middleware is runnning smooth
- create the tests for the new route (auth user)
- create JWT auth middleware with a range of 24h/token
- make the api connectable (cors connecting with Angular http client)
- refactor tests
- create a route for validation of the JWT
- fix the implementation of the jwt route
License
MIT License ยฉ 2020 Diego Prestes, DPSynth.com