... for a shorter course in .NET.
In this project I wanted to build a API using .net, and a frontend with a JS framework. I chose Svelte as the frontend, as I've had my hands on react before.
The idea is to present a minigame inspired by wordle, but with math.
The gameplay is simple. In a 3x3 grid you get 3 randomly assigned numbers. Your goal is to calculate each row and each column, to equal the numbers on the side.
A new "quiz" is generated daily based on server time. With highscore and personal score.
- ASP .net web core API, with models and controllers.
- Svelte, Sveltkit.
- MS SQL
- Login, Register, JWT tokens.
- Gameplay, Scores, Highscores.
- Using Microsoft SQL server management studio.
- Import Database.sql.
- Open "/Finals-Api/Finals-Api.sln"
- Take note of URL. http://localhost:5200
- Change URL in "/properties/launchSettings.json" if needed,
- Make sure connection to database is correct in, "appsettings.json"
- Build project.
- Open "Finals-UI" in terminal of choice.
- npm install
- If API URL was changed, go to "src/routes/api.js" to change endpoint.
- npm run dev.
- Open website in preferred browser.