I have written a tutorial about how I did this. You can find it here or here
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.
[email protected]:test123JLL
[email protected]:test123JLL
...or register a new one via SIGN UP option on the login screen.
From root project directory:
cd /frontend && npm install
From root project directory:
cd /frontend && npm run serve
From root project directory:
cd /frontend && npm run build
From root project directory:
cd /frontend && npm run test:unit
First start the server from /backend
folder:
dotnet run
Then from /frontend
folder:
npm run test:e2e
cd /backend && dotnet run
cd /backend/tests && dotnet test
The frontend URL is: https://localhost:5001/, not https://localhost:8080/.