GithubHelp home page GithubHelp logo

quiz-maker---perspective-tool's Introduction

Quiz Maker , Perspective Tool

This is a technical challenge for chooseshift.com

Online version

https://infinite-oasis-40111.herokuapp.com/

Description

This project includes all features that a website needs to make a quiz maker app/website . including both website & API like a real project.

The project made by Laravel 5.8 for the backend framework and Vue.js + Vuex for frontend.

The project includes the following features:

  • Admin Login / Logout
  • Create / Remove / Edit > Quizzes ( Admin )
  • Create / Remove / Edit > Dimensions ( Admin )
  • Create / Remove / Edit > Questions for each Quiz ( Admin )
  • Create / Remove / Edit > Explanations for each Result of Quizzes ( Admin )
  • User ability to participate in quizzes ( User )
  • User ability to get a result according to it's answers for each quiz ( User )
  • Check Answers For Each Participant ( Admin )

How to setup

  1. run command : composer install
  2. run command : npm install
  3. create two databases for Web Service & Testing Environment
  4. change .env.example File to .env and setup .env database information
  5. change .env.example File to .env.testing and setup .env.testing database information for Unit & Feature Tests
  6. run command : php artisan key:generate
  7. run command : php artisan migrate
  8. run command : php artisan passport:install --force
  9. copy second Client ID and Client Secret after running the previous command.
  10. paste Client ID and Client Secret to .env and .env.testing files. ( because we use these secret code for admin login request )
  11. run command : php artisan db:seed
  12. run command : npm rum watch
  13. run command : php artisan serve
  14. open web server

Done !

Setup Unit & Feature Testing Environment

  • step1: create a new database for test
  • step2: change .env.example File to .env.testing and setup .env.testing database information for Unit & Feature Tests
  • run command : phpunit

quiz-maker---perspective-tool's People

Contributors

peymanforceman 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.