An API base for ASP.NET Core 3.1 project. 🍰
- Users and JWT token authorization
- Example REST CRUD-controller
- Alternative GraphQL API
- Subscriptions however unAuthorized
- EF Core In-memory DB with bogus seed objects
- Docker with PostgreSQL dev setup.
- Including pgAdmin for browsing
- Integration test base
- Unit test base
- API under
API
- GraphQL API under
GraphQL
- Data schema and business logic under
FeatureLibrary
- Common functionalities under
CoreLibrary
- Unit and integration tests under
Tests
docker-compose up
"DatabaseConfiguration": {
"UseInMemory": true, // Use InMemory DB provider
"ConnectionString": "pSQLConnString" // Postgre connection string if not in inMemory mode
},
"JWTConfiguration": {
"Secret": "Dev-Secret-356178he9j20kle" // Token secret for JWT
}