hungud / pizza-app

πŸ• SPA with VueJS and C# using .NET Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Love Pizza

I have written a tutorial about how I did this. You can find it here or here

SPA with VueJS and C# using .NET Core

A web app where users can signup/login, and just tell us how much they love pizzas by pressing an "I love it" button. There are no restrictions on the number of times each user can tell us their appreciation, the only requirement is that only logged in users can vote. In the home page, along with the signup/login buttons, we can put a little bar-chart displaying the top 10 users with the highest appreciation (in the X-axis) and in the Y-axis the number of votes.

Screenshots

screenshot screenshot

Test users

mihail.gaberov@abv.bg:test123JLL

bionicman@abv.bg:test123JLL

...or register a new one via SIGN UP option on the login screen.

Stargazers

Stargazers repo roster for @mihailgaberov/pizza-app

Forkers

Forkers repo roster for @mihailgaberov/pizza-app

Frontend

Project setup

From root project directory:

cd /frontend && npm install

Compiles and hot-reloads for development

From root project directory:

cd /frontend && npm run serve

Compiles and minifies for production

From root project directory:

cd /frontend && npm run build

Run your unit tests

From root project directory:

cd /frontend && npm run test:unit

Run your end-to-end tests

First start the server from /backend folder:

dotnet run

Then from /frontend folder:

npm run test:e2e

Backend

To run the server app:

cd /backend && dotnet run

To run the back-end tests:

cd /backend/tests && dotnet test
Note:

The frontend URL is: https://localhost:5001/, not https://localhost:8080/.

About

πŸ• SPA with VueJS and C# using .NET Core

License:MIT License


Languages

Language:C# 47.0%Language:JavaScript 25.6%Language:Vue 24.5%Language:HTML 2.4%Language:SCSS 0.4%