Skip to content

.Net Core e-commerce app that uses Blazor as Frontend and ASP.NET as backend

License

Notifications You must be signed in to change notification settings

kuro-vale/kuro-desserts

Repository files navigation

Kuro-Desserts

PWD

This a e-commerce web app that uses ASP.NET as backend, and a Blazor Server as frontend.

You can see the API documentation in the "/swagger" endpoint.

The thematic of this project is a dessert store, you can add desserts to your cart, personalize the dessert size, flavor, and add toppings.

Screenshots

Desserts

Screenshot_20230104_201109

Profile

Screenshot_20230104_201156

Adding items to cart

Screenshot_20230104_201229

Checkout

Screenshot_20230104_201346

Swagger docs

Screenshot_20230104_201557

Deploy

Follow any of these methods and open http://localhost:5000/ to see the WebApp or http://localhost:5000/swagger to see the API docs in Swagger.

Docker

Run the command below to quickly deploy this project on your machine, see the docker image for more info.

docker run -d -p 5000:5000 kurovale/kuro-desserts:sqlite

Quick Setup

  1. Run git clone https://github.com/kuro-vale/kuro-desserts
  2. cd kuro-desserts
  3. Set environment variables (Connection string of a MySQL database)
    • JWT_KEY="Secure key with length of Int32 (string of 40 characters)"
    • CONNECTION_STRING=server=your_host;user=your_user;password=your_pass;database=your_database
  4. Run dotnet run