Built using
- .NetCore 3.1
- MySQL
- MediatR
- AutoMapper
- JWT Auth
- Swagger
- Docker
- Uses the concepts of DDD (Domain Driven Design) and SOLID
docker-compose up
Above mentioned commands starts
- .NetCore API Service
- MySQL DB (seeded by default from
db.sql
)
Browse to http://localhost:5000/swagger
Login using john@example.com
and password
Verify the logged in user details
Later, other endpoints can be used smoothly.
/api/phonebooks
and api/phonebooks/.../phone-entries
are protected and need authentication.
/api/users
is open and doesn't need authentication
Browse to http://localhost:6001
User: user
Password: password
- Request Parameters Validation
- Renew Token
- Block Token (logout)
- Pagination
- Exception Handling
- Logging