Git Product home page Git Product logo

django-quiz-app's Introduction

Quiz App

Simple dummy project with Django, Django Rest framework, JS and GraphQL

Features

  • Authentication
    • Login
    • Register
  • Questions
    • Each question has four options
    • Each question has 10 seconds to answer
  • Quiz result at the end
  • Send result to user with email
  • Documented API
  • Rest API
    • Add user
    • CRUD operations on questions
    • Token authentication
    • Get user result
  • GraphQL API
    • Add user
    • JWT authentication
    • CRUD operations on questions
    • Get user result
  • Celery & Flower(for monitoring celery)
  • Dockerized

Documentation

  • localhost/swagger (Rest API)
  • localhost/graphql (GraphQL API)
  • localhost:5555 (Celery)

Usage

git clone https://github.com/Aron-S-G-H/quizApp.git
pip install -r requirements.txt
python manage.py migrate
python manage.py test # to make sure everything is ok
python manage.py runserver # and see in localhost:8000
# In another terminal, enter the following command to run celery
celery -A QuizApp worker -l info
# again in another terminal, enter the following command to run flower
celery -A QuizApp flower

Run with Docker

make sure that you have docker and docker compose

git clone https://github.com/Aron-S-G-H/quizApp.git
cd QuizApp (where docker-compose.yaml is)
# open a terminal
docker compose up -d
# now go to the localhost:80

any contributions are welcome

django-quiz-app's People

Contributors

aron-s-g-h avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

esaias-ayemi

django-quiz-app's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.