Ordering pizza and side dishes at a fake pizza shop
I have studied backend, frontend, and sql so far, but I have not had any experience in releasing a product by integrating these. Through this project, although incomplete, I wanted to gain experience in making products.
And for this project, I used techs I haven't used before. I learned a lot about Docker, Blazor,Bootstrap, and Postgresql from this project.
- ASP .NET Core 5.0 Api
- ASP .NET Core 5.0 Blazor(server)
- Identity Server 4
- Entity Framework Core
- Postgres 12.5
- Bootstrap 4
- Docker
API
- Retrive Pizza list
- Retrive Side dishes list
- Create order
- Look up order history
- Track order
Client
- Display Pizza info
- Display Side dish info
- Add items to cart
- Calculate tax and amount paid
- Checkout
- Login
- get pizza type
example /api/pizza/type
- get pizza size
example /api/pizza/size
- get pizza toppings
example /api/pizza/topping
- get side dishes
example /api/pizza/sides
- get order history by customer id
parameter: Guid
example /api/pizza/Customers/7d9ecead-eca1-48b2-8366-784fb1c17c16/Orders
- get order detail by orderId
parameter: Guid
example /api/Pizza/Orders/dc6f9ec8-366f-11eb-8dcc-22000bda0bac
- create an order
example /api/Pizza
body
{
"Customer":{
"CustomerId":"7d9ecead-eca1-48b2-8366-784fb1c17c16",
"FirstName":"Bob",
"LastName":"Smith",
"Email":"BobSmith@email.com",
"PhoneNumber":"519-666-7777"
},
"Pizzas":[
{
"Qty":2,
"TypeId":1,
"SizeId":1,
"Toppings":[1,2,3]
}
],
"Sides":[
{
"Qty":2,
"SideId":1
}
]
}


