/quiz-app-laravel8

This is a laravel 8.x simple quiz app

Primary LanguagePHP

Laravel Online Quiz Application (based on Laravel 8.x)

  • Application to manage and take the quiz online.
  • Students can apply for the test and view results

PHP Laravel

Admin login

email: admin@app.com
password : password

User login

email: user@app.com
password : password

Installation

  1. Clone or download this Repository.

    git clone https://github.com/hasibulhasanshanto/quiz-app-laravel8
    
  2. Run the command

    composer install
    
  3. Create .env file by copying the .env.example, or run the following command

    cp .env.example .env
    
  4. Update the database name and credentials in .env file

     DB_CONNECTION=mysql
     DB_HOST=127.0.0.1
     DB_PORT=3306
     DB_DATABASE=quiz_app
     DB_USERNAME=root
     DB_PASSWORD=
    
  5. Run the following command

    php artisan key:generate
    
  6. To migrate database and seed the datas to DB

    php artisan migrate --seed
    
  7. Run npm install command

    npm install
    
  8. Run the command to compile the theme

    npm run dev
    
  9. Finally run the application

    php artisan serve
    

Screenshots

Admin side

image image

Student side

image image