This project is built with React (TypeScript) and ASP.NET Core with an in-memory database.
There are 3 question types:
- Radio buttons
- Checkboxes
- Textboxes
The user has to go through 10 questions and if they score high enough, they appear on the leaderboard among the top 10 highest scored entries.
- Clean/Onion architecture implementation
- Using CQRS and Mediator design patterns
- Exception Filters
- TanStack + Axios API layer in frontend
- Material UI1
- Vite
- Exception handling middleware
- Code style consistency
- Better React context management
- Unit or other tests
- Query key storage
- Environment variable usage
- Repository interface comments
- Go to 'pc.quiz.client' in terminal
- Run command:
npm run dev
Footnotes
-
Decided for in-line CSS for styling components instead of CSS modules due to better compatibility. ↩
-
It's possible certain errors will appear due to certificates not being able to be generated. In which case, I recommend using manual solutions to create a certificate. ↩
-
If the browser doesn't open up by itself, you can copy and go to the localhost URL. ↩