kozakHolota / OLXFakedBackend

Backend for OLX Faked project for IT Step Diploma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OLXFakedBackend

Backend for OLX Faked project for IT Step Diploma

Pre-requisites

To deploy the application we need next things to be installed:

Get OLXFakedBackend Docker Environment up

First we need to create internal docker network by typing the command:

docker network create olx_relation_network

Now we need to build the image:

docker compose build

We can get the docker environment up typing in the command terminal from the solution folder:

docker compose up -d

From the Visual Studio the same thing can be done simply by running the project.

Create the Database through Entity Framework migrations

After REST API environment is up, we can start to create the Database via EF Migrations.

cd OLXFakedBackend
dotnet ef migrations add <migration name>
dotnet ef database update

After migration is done, comment line 10 in appsettings.json and comment line 11.

About

Backend for OLX Faked project for IT Step Diploma


Languages

Language:C# 99.7%Language:Dockerfile 0.3%