Giter Site home page Giter Site logo

quizzing-website's Introduction

Quizzing-Website

This website is made using Python-Django where people can quiz in real time.

#FUNCTIONING
Firstly, the user needs to sign in either by making an account on the website or by signing up via facebook account.

Once he signs in, he has an option to enter any one of the three categories:

  • Sports
  • Movies
  • Maths Since this is a demo project, there are just 1 or 2 questions depending which category the user selects.

Then he can select the answer and click on "Submit" button. After this, he is directed to a new page showing his score and giving him an option if he wants to play again, clicking on which he is redirected to the page displaying the categories.

#HIERARCHY
/Polls
|  /Static
|  |  /category
|  |  |  /images: Contains images used in website
|  |  |  /style.css
|  |  /polls
|  |  /style.css
|  |
|  /templates
|  |  /category.html
|  |  /index.html
|  |  /result.html
|  |
|  /admin.py - Register tables here
|  /apps.py - AppConfig here
|  /models.py - Made 3 tables here: Category, Question, choice
|  /views.py - define views here
/

#HOW TO RUN

  1. Run CMD and change directory to the "../quiz" folder
  2. Run command "python manage.py runserver"
  3. Open browser and type http://127.0.0.1:8000/polls/ in the address bar
  4. Create an account and start playing!

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.