It is an application that allows you to create personalized pizza menus, register new toppings and share them among other users.
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"
}
}
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
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