National foods in Uzbek kitchens attracts everyone, it is always tasty and interesting 😋
- Minimal Endpoints
- Global Exception Handling
- OpenAPI/Swagger
- Entity Framework Core
- Result Pattern
- CQRS
- MediatR
- FluentValidation
- Dapper
- Install Visual Studio 2022 version 17.10 or newer.
- Select the following workload:
ASP.NET and web development
workload.
- Select the following workload:
Follow these steps to get your development environment set up:
- Clone the repository
- At the root directory, restore required packages by running:
dotnet restore
- Next, build the solution by running:
dotnet build
- Start dockerized PostgreSQL Server
docker compose up
- Run the solution
dotnet run
NOTE: The first time you run the solution, it may take a while to download the docker images, create the DB, and seed the data.
You should be able to make requests to localhost:5001 for the Public API project once these commands complete. If you have any problems, especially with login, try from a new guest or incognito browser instance.
You can also run the applications by using the instructions located in their Dockerfile
file in the root of each project. Again, run these commands from the root of the solution (where the .sln file is located).