The best application for conventions
- .NET 5 Web API application
- REST API principles, CRUD operations
- Repository and Unit of work Pattern Implementation
- Swagger Open API implementation
- Implement API Gateways with Ocelot
- Sample microservices/containers to reroute through the API Gateways
- Use seq for logging
- Container for API
- Container for Database
- Container for seq (Logging service)
- Container for API gateway
- Container for Frontend application
You will need the following tools:
Follow these steps to get your development environment set up: (Before Run Start the Docker Desktop)
- Clone the repository
- Once Docker for Windows is installed, go to the Settings > Advanced option, from the Docker icon in the system tray, to configure the minimum amount of memory and CPU like so:
- Memory: 4 GB
- CPU: 2
- At the root directory which include docker-compose.yml files, run below command:
docker compose --project-name convention-system up --build
-
Wait for docker compose all components. That’s it!
-
You can launch services as below urls:
- Frontend -> http://localhost:3000/
- API -> http://localhost:8000/swagger
- Ocelot -> http://localhost:8010/swagger
- SEQ -> http://localhost:5341/#/events
- MSSQL -> localhost, 1433
- Ihor Skalov