Trivia API is a webapp used to provide API data of Question and answers based on category and difficulty level to play as a game.
The app has following functionality:
- Display questions - both all questions and by category. Questions should show the question, category and difficulty rating by default and can show/hide the answer.
- Delete questions.
- Add questions and require that they include question and answer text.
- Search for questions based on a text query string.
- Play the quiz game, randomizing either all questions or within a specific category.
Each parts detail in provided in theire respective READMEs files:
We recommend following the instructions in those files in order. This order will look familiar from our prior work in the course.
This full stack application based on Python-Flask. It is desiged with some key functional areas:
The ./backend
directory contains Flask and SQLAlchemy server.
The ./frontend
directory contains a complete React frontend to consume the data from the Flask server.