Skip to content

This is a web application to manage a driving school. It allows you to manage students, instructors, vehicles, sessions and exams. It also allows you to manage statistics and authorizations.

Notifications You must be signed in to change notification settings

itzAymvn/Auto-Ecole-Laravel

Repository files navigation

Driving School Management System

Image

Description

This project is a web application for managing a driving school. It allows for the management of students, instructors, vehicles, driving sessions, and exams.

Installation

Prerequisites

  • PHP 8.2
  • Composer
  • MySQL
  • NodeJS

Option 1: Traditional Installation

  1. Clone the project

    git clone https://github.com/itzAymvn/auto-ecole-laravel.git
    cd auto-ecole-laravel
  2. Install dependencies

    composer update
    composer install
    npm install
  3. Create a .env file from the .env.example file

    cp .env.example .env
  4. Generate an application key

    php artisan key:generate
  5. Create a database and configure the .env file

  6. Run migrations

    php artisan migrate

    You can also run seeders to have test data

    php artisan db:seed
  7. Start the server

    php artisan serve

Option 2: Docker Installation

  1. Clone the project

    git clone https://github.com/itzAymvn/auto-ecole-laravel.git
    cd auto-ecole-laravel
  2. Create a .env file from the .env.example file

    ```sh
    cp .env.example .env
    ```
    
  3. Replace the following values in the .env file:

    DB_CONNECTION=mysql
    DB_HOST=db
    DB_PORT=3306
    DB_DATABASE=auto_ecole
    DB_USERNAME=user
    DB_PASSWORD=password
  4. Start the application using Docker Compose

    docker-compose up -d

    or

    docker compose up -d
  5. Run migrations within the Docker container

    docker exec auto-ecole-app php artisan migrate
  6. Seed the database with test data

    docker exec auto-ecole-app php artisan db:seed

Usage

Access the application at http://localhost:8000

To log in, use the following credentials:

- Administrator:
    - email: admin@mail.com
    - password: password
- Instructor:
    - email: instructor1@mail.com / instructor2@mail.com
    - password: password

Or create an account to access the application.

About

This is a web application to manage a driving school. It allows you to manage students, instructors, vehicles, sessions and exams. It also allows you to manage statistics and authorizations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published