- encrypt & decrypt password
- filters and sort
- paginations
- testing
- add services
- Developed with Node.js and Express as web framework and use MongoDB as database
- User CRUD with REST API
- Authenticate with JWT
- Auth Middleware
- Validations
- Error Handling
- Dockerized
- Documented by swagger
cp .env.example .env
docker compose up -d
docker compose exec app node ./seeders/admin.seeder.js
route : api/v1/auth/login
body:
{ "username": "admin", "password": "123456" }
route : /api-docs