- Idea:
- Fullstack application for working with articles
- Tech stack:
- Frontend:
- Angular
- Bootstrap
- Backend:
- data:
- AutoMapper
- FluentValidation
- MediatR
- tests:
- AutoFixture
- FakeItEasy
- FluentAssertions
- xUnit
- api:
- asp.net 7
- Redis
- PostgreSQL
- Serilog
- Swagger
- identity:
- IdentityServer4
- RabbitMQ.Client
- data:
- Functionality:
- Frontend:
- Communicates with backend APIs to perform CRUD operations on blogs, user authentication flows for login/register using IdentityServer, basic UI with Bootstrap
- Backend:
- Domain layer with blog entity, CQRS implementation for data layer to handle queries and commands, Input validation and mapping, ASP.NET Core Web API with blog controller, IdentityServer4 for authentication and authorization, Integration testing using xUnit
Warning
Requirements: Docker If you want to start backend:
-
Configure IdentityServer by providing your own details in the configuration class at Config/IdentityServerConfiguration.cs file (Template available in Config/IdentityServerConfiguration-Template.cs)
-
Go to the backend directory and run the PowerShell (.ps1) or Bash (.sh) script.
- For regular use: run
.\up.ps1or.\up.sh - For development (rebuilding api/identity containers on host file save): run
.\watch.ps1or.\watch.sh - To initialize the database context, run:
docker exec -it api dotnet ef database update
docker exec -it identity dotnet ef database update




