Skip to content

Flask Application For Trivia Game Focusing on Backend, With Minimal Frontend

Notifications You must be signed in to change notification settings

wbchristerson/trivia_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full Stack Trivia App

This is an application to manage a trivia webpage app and play it as a game. The front-end is minimal; the focus is on the back-end API used for accessing a postgres (postgresql) database.

"Trivia Application Screen Shot"

The application:

  1. Displays questions - both all questions and by category. Question data includes the question, category and difficulty rating by default and can show/hide the answer.
  2. Deletes questions.
  3. Adds questions and requires that they include question and answer text.
  4. Searches for questions based on a text query string.
  5. Plays the quiz game, randomizing either all questions or within a specific category.

For more information about the frontend and backend (again the focus is on the backend), see the following links:

  1. ./frontend/
  2. ./backend/

About the Stack

The key functional areas are:

Backend

The ./backend directory contains a Flask and SQLAlchemy server. The work for this is primarily in app.py, where the endpoints are defined, referencing models.py for the DB schema and SQLAlchemy setup where necessary.

View the README.md within ./backend for more details.

Frontend

The ./frontend directory contains a complete React frontend to consume the data from the Flask server.

View the README.md within ./frontend for more details.

About

Flask Application For Trivia Game Focusing on Backend, With Minimal Frontend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published