sooneeatwork / buber-dinner

This repository follows Amichai Mantinband course on REST API DDD CLEAN ARCHITECTURE.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BuberDinner

This repository follows course from YouTube on channel named Amichai Mantinband (link). The course's name is REST API Following CLEAN ARCHITECTURE & DDD (link).

About applications

Application is written in .NET 6.0 with C# using WebAPI technology. This solutions follows Clean Architecture principles and Domain-Driven Design principles. It contains 4 layers:

  • Domain
  • Application
  • Infrastructure
  • Api

Build and run

You can run the application in two ways:

  1. Local application

⚠️ This way need to have separate database running on your local machine for some requests.

To run this project you need to have .NET 6.0 runtime installed. Then clone (or download) this repository.
Then open CLI and open folder with application. Then run from CLI with command:

dotnet run --project .\BuberDinner.Api\
  1. Docker

Application has docker-compose file for running the application with MSSQL Server database in container.
To run the application using Docker you have to have it installed on your machine. Then close (or downlaod) this repository.
In the main folder type the command:

docker-compose up -d --build

In both ways of running the application, you have to use migrations for creating tables to fully use the application.

About

This repository follows Amichai Mantinband course on REST API DDD CLEAN ARCHITECTURE.


Languages

Language:C# 99.2%Language:Dockerfile 0.8%