Skip to content

It allows you to manage your custom pizza menu, toppings and share them among other users.

Notifications You must be signed in to change notification settings

loqo71la/great-pizza

Repository files navigation

GreatPizza

codecov Unit Test codecov

It is an application that allows you to create personalized pizza menus, register new toppings and share them among other users.

For Developers

Prerequisites

Database

Set the host and credentials of the database at /rest-api/GreatPizza.Infrastructure/appsettings.json

{
    "ConnectionStrings": {
        "DefaultConnection": "server=localhost;user id=SA;password=Password123!;database=GP"
    }
}

Rest Api

Move to /rest-api directory:

cd rest-api

Restore dependencies:

dotnet restore

To run the EF Migrations

dotnet run --project GreatPizza.Infrastructure.Migration

To run the API

dotnet run --project GreatPizza.WebApi

To see the API endpoints structure go to https://localhost:5001/swagger

NOTE: To run the integration tests

dotnet test

Web Client

Move to /web-client directory:

cd web-client

Install packages:

npm install

To run the Web client

npm start

At this time, you have a service running at http://localhost:4200