This is a simple school management application built with Laravel.
Important
This project is in beta stage and is not yet ready for production use. This first version is still under development and may contain bugs or incomplete features.
-
Clone the repository:
git clone https://github.com/albertlnz/school-management.git
-
Change directory:
cd school-management
-
Install dependencies:
composer install
-
Change the
.env.example
file to.env
and setup your BBDD configuration4.1 Configuration using SQLite:
DB_CONNECTION=sqlite # DB_HOST=127.0.0.1 # DB_PORT=3306 # DB_DATABASE=school_management # DB_USERNAME=root # DB_PASSWORD=
4.2. Configuration using MySQL or MariaDB:
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=school_management DB_USERNAME=root DB_PASSWORD=
*Notices that per default, Laravel 11 use SQLite, but you can change by MySQL or MariaDB.
-
Do the database migrations:
php artisan migrate
-
If you want, you could execute the seeders generated by Faker:
php artisan migrate:fresh --seed
-
Start the development server:
php artisan serve
-
Open your browser and visit http://localhost:8000
The API documentation is available at http://localhost:8000/api/documentation.
The database is stored in the database
directory.