This is an Authentication API server using Node.js and PostgreSQL for data storage. It uses Redis & JWT for session management.
Docker
make build-dev
make up-dev
- Run database migrations & seeds:
npm run faker
npm run migrate
npm run seed
- Access Swagger-UI http://localhost:8080
make test
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull/merge request to a maintainer :D
in no particular order
- Decalative routes
- Public vs. Private(auth) routes
- Migrations & Seeds
- Add security best practices
- Password encryption
- Use JWT for private route auth
- Create Postman collection
- Verification emailer
- Use faker for seeding
- Utilize swagger documentation
- Dockerize
- SSL
- Health check
- Add tests