Flask RESTful API. Flask, flask_mail, flask_cors.
Get method for getting random questions to FE for user quiz. 7 questions from each difficulty, 3 difficulties.
Post method for validating questions from user, when completed quiz. Return correct answers and score.
Get method for displaying prizes, when user completes quiz, all prizes based on score
Post method, when user chooses a prize and adds information - sending email and saving to database
Put for creating prizes. Patch for updating prizes. Delete for deleting prizes
Get method just for getting all users and displaying. NOT IN USE
Post method for creating new users and checking if user already exists
Post method for validating admin credentials
Get method for getting all of the questions, prizes, users, user answers with prizes they've choosen. From database. To FE
Post method for creating questions, to database
Put method for updating question, to database
Delete method for deleting questions
Table for questions. Question and all answers, difficulty and id
table for prizes. Name, description, image name and special BOOLEAN for displaying only when 100 %
Table for all users with their results, scores and prizes
Table for users, without results
React JS is communicating to API using axios and static API token
Pages for users and quiz
Pages only for administration of the web. Admin login required