HindTayeb / FSND-Trivia-API

An API for Trivia game quizzes along with frontend view.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trivia-API

Full Stack Trivia

This project is part of the Full-Stack Nanodegree program. With the follwing original description: 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.

The code base is done by Udacity and I only added and filled the required code and functions to make this work.

Files Structure

The project file has two parts: backend and frontend. Each have a README file that explains how to setup and run the project, and the tasks where I worked on.

backend

The ./backend directory contains a partially completed Flask and SQLAlchemy server. I worked mainly in init.py where I defined the endpoints and models.py for DB and SQLAlchemy setup.

frontend

The ./frontend directory contains a complete React frontend to consume the data from the Flask server. I updated the endpoints after defining them in the backend.

Trivia-API
├── backend
│   ├── flaskr
│   │   └── __init__.py
│   ├── README.md
│   ├── models.py
│   ├── pip
│   ├── requirements.txt
│   ├── test_flaskr.py
│   └── trivia.psql
├── frontend
│   ├── public
│   ├── src
│   │   ├── components
│   │   ├── stylesheets
│   │   ├── app.js
│   │   ├── app.test.js
│   │   ├── index.js
│   │   ├── serviceWorker.js
│   ├── README.md
│   ├── package.json
│   └── package-lock.json

About

An API for Trivia game quizzes along with frontend view.

License:MIT License


Languages

Language:JavaScript 67.1%Language:Python 26.1%Language:HTML 4.9%Language:CSS 1.8%