Git Product home page Git Product logo

pizza-app's Introduction

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

[email protected]:test123JLL

[email protected]:test123JLL

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

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/.

pizza-app's People

Contributors

mihailgaberov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.