This is a Laravel-based Academic Management System, a PHP framework. The system follows the Model-View-Controller (MVC) design pattern and utilizes migrations, models, and controllers to organize and manage data.
Select Language:
-
Clone the repository on your local machine:
git clone https://github.com/Anyel-ec/Laravel-MySQL-Docker-CRUD-Student-Enrollment-System
-
Install project dependencies:
composer install
-
Copy the configuration file .env:
cp .env.example .env
-
Generate the application key:
php artisan key:generate
-
Configure the database in the .env file with your credentials.
-
Run migrations to create database tables:
php artisan migrate
-
Start the development server:
php artisan serve
The project will be available at http://localhost:8000.
-
List all subjects:
Route::get('/subject', [SubjectController::class, 'index'])->name('subject.index');
-
Create a new subject:
Route::get('/subject/create', [SubjectController::class, 'create'])->name('subject.create');
-
Store a new subject in the database:
Route::post('/subject/store', [SubjectController::class, 'store'])->name('subject.store');
-
Edit an existing subject:
Route::post('/subject/edit/{id}', [SubjectController::class, 'edit'])->name('subject.edit');
-
Update a subject in the database:
Route::post('/subject/update/{id}', [SubjectController::class, 'update'])->name('subject.update');
-
Delete a subject:
Route::delete('/subject/destroy/{id}', [SubjectController::class, 'destroy'])->name('subject.destroy');
Similar patterns are followed for other entities in the system, such as students, enrollments, teachers, states, and schedules. You can explore the routes in the web.php file and the respective controllers for more details.
Feel free to contribute to the project! Open an issue to discuss new features or problems, and make pull requests to propose changes.
This project is under the MIT License.
Thank you for using our Academic Management System with Laravel!