Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cschan1828/trivia-api
https://github.com/cschan1828/trivia-api
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/cschan1828/trivia-api
- Owner: cschan1828
- Created: 2019-11-11T11:36:30.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-06T20:46:05.000Z (8 months ago)
- Last Synced: 2024-11-29T02:41:13.734Z (about 1 month ago)
- Language: JavaScript
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Full Stack API Final Project
## Full Stack Trivia
Udacity is invested in creating bonding experiences for its employees and students. A bunch of team members got the idea to hold trivia on a regular basis and created a webpage to manage the trivia app and play the game, but their API experience is limited and still needs to be built out.
That where you come in! Help them finish the trivia app so they can start holding trivia and seeing who's the most knowledgeable of the bunch. The application must:
1) 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.
2) Delete questions.
3) Add questions and require that they include question and answer text.
4) Search for questions based on a text query string.
5) Play the quiz game, randomizing either all questions or within a specific category.Completing this trivia app will give you the ability to structure plan, implement, and test an API - skills essential for enabling your future applications to communicate with others.
## About the Stack
We started the full stack application for you. It is desiged with some key functional areas:
### Backend
The `./backend` directory contains a partially completed Flask and SQLAlchemy server. You will work primarily in app.py to define your endpoints and can reference models.py for DB and SQLAlchemy setup.
### Frontend
The `./frontend` directory contains a complete React frontend to consume the data from the Flask server. You will need to update the endpoints after you define them in the backend. Those areas are marked with TODO and can be searched for expediency.
Pay special attention to what data the frontend is expecting from each API response to help guide how you format your API.
[View the README.md within ./frontend for more details.](./frontend/README.md)