QuizTime was created from the fun my wife and kids have quizing each other random trivia questions at dinnertime.
Features:
- Group Play for all skill levels
- Add and manage set of quiz questions
Layer/Feature | Tech | Platform Version | Notes |
---|---|---|---|
Web Client | Blazor Web Assembly | .NET 5.0 | n/a |
Web Client State Management | Blazor State | .NET 5.0 | n/a |
Web Client Styling | tailwindcss v2.0 | n/a | n/a |
Data API | FeatherHTTP | .NET Core 3.1 | Loads csv file of question into memory |
Data Storage | CSV | n/a | Stores the quiz questions to disk |
- .NET 5 SDK
dotnet dev-certs https --trust
cd QuizTime.Api.Rest
dotnet watch run
NOTE: The API operates at https://0.0.0.0:3000. The
0.0.0.0
allows for any client ipaddr to be accepted.
-
Edit QuizTime.Client.BlazorWasm/wwwroot/appsettings.json and replace the ipaddress with that of your hosting machine
{ "apiUrl": "http://{your-machine-ipaddress}:3000" }
-
Build and run the client
cd QuizTime.Client.BlazorWasm dotnet watch run
NOTE: This spawns a local webserver to server the webapp to clients on your network at https://0.0.0.0:5001.
- Open the web browser from any device on your network (i.e. Desktop, Laptop, Smartphone, Tablet, Chromebook, etc)
- Open the URL http://(the-ipaddress-of-the-machine-serving-the-webapp):5000 (e.g. http://192.168.0.12:5000)
- One should see the webapp loading and operational.