Skip to content

SergioGonzalez24/Quiz-Application-with-Microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quiz-Application-with-Microservices

General overview

Design and implement a quiz application, using a microservice architecture and various AWS services. This quiz application allows testing the user's knowledge about design patterns and refactorings. The application allows the user to select how many different questions (between one and ten) wants to answer. The application backend was written in python. The frontend was implemented using css. Each question appear all by itself in the browser window. Once the user answers a question, the application give the user the corresponding feedback, indicating if the answer was right or wrong, and displays the correct answer. After this, the user can proceed to see and answer the next question. Once all questions have been answered, the application displays the final score. Also, a score table with the initials and scores (in descending order) of all previous users and their score is display. Finally, the user has an option to restart the quiz application.

Instalation of dependencies required

It is necessary to run the following commands in order to install the needed dependencies:

  pip install flask
  pip install flask-migrate
  pip install flask-sqlalchemy
  pip install mysqlclient

To run the code

Must have the script config.py and run in a terminal:

python3 app.py

Url where hosted

http://54.242.238.228/

Diagrams of the system

Descripción de la imagen Swim Lane Diagram

Design pattern used

In the development of Quiz App, we chose to use the MVC (Model-View-Controller) design pattern. This allowed us to clearly separate the different parts of the application and assign specific responsibilities to each one. MVC helped us organize and structure the code efficiently, facilitating maintenance, reusability, and scalability. Additionally, it provided us with the flexibility to make independent changes in each component. In summary, MVC was the right choice for building a robust and adaptable application.

Architecture diagram

Descripción de la imagen

About

Write a quiz application that allows testing the user's knowledge about design patterns and refactorings.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6