Giter VIP home page Giter VIP logo

milestone-3-code-institute's Introduction

Ouiz - Milestone project 3 Code Institute

Summary:

The purpose of the project is to build a full-stack site where user can play quiz, tracked his score and admin can easily modify data base add new questions, delete old ones and to delete users. This site allows user to play short quiz with general knowledge and track his score history

Project has the following sections:

  • Home page contains image and navigation bar with access to login, register, admin

  • Login page contains username field, pasword filed and login button

  • Register page contains fields: first name, last name, username, email, password, confirm password and register button

  • Admin page contains sections: home, user, questions, quiz taken

Structure and design:

Fonts:

  • For projects was used font Roboto from Google Fonts

Colors:

  • Dark grey color was used for navigation bar to fit with image on home page

  • Red color was chosen for hover element above of navigation bar

Images:

Wireframes:

UX stories:

As admin I want to:

  • easy access change database questions, to add new questions and to delete user

As user I want to:

  • easy to register

  • easy to login

  • to play general knowledge quiz

  • to track my previous score

Technology used:

  • HTML5

  • CSS

  • Python

  • Google Fonts

  • Bootstrap

  • Flask-mongoengine to add package to enable comunication with MongoDB database

  • Flask-WTF standard flask package for WTF forms

  • Flask-Admin-package to enable admin view - to dispaly models and to enable manipulation with data on the website instead rellying on some other GUI tool.

Tools used:

Testing:

Application was tested on Chrome and Firefix browsers.

Functionality tested:

  • that hover element changing color on navigation bar

  • that every link is opening right template

  • that user registration is functional

  • that login is functional

  • that quiz is functional

  • that admin can delete users

  • that admin can add new or to remove old questions

  • that password matched

  • that password has enough length

  • that username has enough lenght

Code Validation:

  • HTML code was validated using W3C Markup Validation Service, no errors found html html base validator

  • CSS code was validated using W3C CSS Validation Service Jigsaw, no errors were found CSS validator

  • Python code was validated using PEP8 online checker, no errors found main python

  • Jinja templetes were unable to valdidate :

index

login

quiz complete

quiz

quiz overview

register

Deployment:

  • Project has been deployed at Github and Herouku

Further Development:

  • Plans for further development are to add more questions to database, to add more quizzes and to add area to show tables with scores.

Conclusion:

  • This project was build only for educational purpose and won`t be in commercial use.

milestone-3-code-institute's People

Contributors

mariodragun avatar

Watchers

 avatar

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.