GithubHelp home page GithubHelp logo

neeraj1909 / quiz Goto Github PK

View Code? Open in Web Editor NEW
22.0 2.0 9.0 298 KB

It is a quiz web app created using Django and Bootstrap 4.

Home Page: http://quiz.neeraj.playingwithcode.com

License: MIT License

Python 62.18% HTML 37.29% CSS 0.53% JavaScript 0.01%
python3 django python-3-6 django-framework django-project django-channels django-application

quiz's Introduction

Online Quiz App in Django

This is an online quiz organizing website project, developed using Python's web framework Django.
For front-end designing we have used Twitter's front-end library Bootstrap4.

Current Features

Site access features:

  • Every quiz can be accessed only if the user is logged in.
  • In the signing-up process the user is required to give the following information
    1. Full Name
    2. Email-id (unique for every user)
    3. Mobile Number (unique for every user)
    4. Roll No.
    5. Password
  • For login the user will be required to enter Email-id and Password only

Features of each quiz:

  • The logged in user either can create his own quiz or take an existing quiz.
  • For creating the quiz, the user will be required to enter the Title of the quiz and questions and their corresponding options.
  • Or the user can take the existing quiz.
  • There will be timer of each quiz and the user is required to finish the quiz in time.
  • When the timer stops, the corresponding record (i.e. number of correct answers) will be saved automatically.

Dashboard features:

  • There are two type of dashboard
    1. Dashboard of corresponding user
    2. Global dashboard (i.e. Leaderboard)
  • In the Dashboard of corresponding user the user can see his attempted quiz statistics
    (i.e. No. of Correct answers, Marks obtained )
  • In the Global dashboard there will be overall ranking of users who have attended the corresponding quiz.

Getting started with development

Dependenciies:

  • Python 3.6.x
  • Django 1.11.x
  • MySQL 5.7.x
  • Ubuntu 17.04 or later

1. Clone this repoistory

git clone [email protected]:neeraj1909/quiz.git
cd quiz

2. Install the virtualenvwrapper

Follow instructions on official documentation page.

3. Create the virtualenv

## run following command from `quiz` directory
mkvirtualenv quiz -a "$(pwd)" -p python3.6

4. Install python packages

## Activate the virtualenv which you created on the last step
workon quiz
pip install -r requirements.txt

5. Setup the database

TODO - Add instructions for this when we start using MySQL database.

6. Run database migrations

python manage.py migrate

7. Run development server

python manage.py runserver

8. Implementation of Timer

TODO - Implementation of timer for the quiz still have to be done.

Contribute


Contributors


License


MIT License

Copyright (c) 2018 Neeraj Kumar Singh

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

quiz's People

Contributors

neeraj1909 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

quiz'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.