Giter VIP home page Giter VIP logo

quizapp's Introduction

About QuizApp

This project has been implemented based on Laravel framework!

DB Diagram

You can see and find the diagram in draw.io link, and also you can see the image of the DB diagram.

image

QuizApp Logic & Features

In this small application we want to create the below features:

  • question CRUD
    • question types [select, multi-select, text]
  • question replies CRUD and assign to questions
  • quiz-box to make a group of questions
  • scheduled quiz-box to make it easy schedule a group of questions to send to users
    • we can define reply_type to have several type of replies
      • realtime
      • email
      • custom_correction_required
      • end_of_exam
  • tag to create a label for different type of entities
  • quiz-replier-activity: we will log user's answer

Install

You can install the project by following the below steps

  1. open the project directory on your terminal
  2. run this command: make install
    1. If you get the DB Error (Mysql gone away) run this command: make table

If the make command is not working for you, run the below commands:

composer install

cd deployment && docker-compose up -d --force-recreate && docker-compose build --force-rm

docker exec -it quiz-app cp .env.example .env

docker exec -it quiz-app php artisan key:generate

docker exec -it quiz-app php artisan migrate

API Documentation

You can clone the repository via Insomnia and then you'll see all the endpoints in it.

Contributing

If you want to contribute in this repository you can use the below commands:

  • To have consistency in the repository we are using Laravel Pint Package so before commit, run the below command:
make pint 

OR

./vendor/bin/pint 
  • Clearing all of caches
make clear 

Test

For executing the test cases:

make test

OR

./vendor/bin/phpunit 

quizapp's People

Contributors

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