This project is a Students Management Dashboard built with Laravel and React, using Inertia.js for seamless server-side rendering and Material-UI for the frontend components.
The project is a task assesment for ZedPro
- Installation
- Usage
- Features
- Routes
- Components
- Models
- Controllers
- License
-
Clone the repository:
git clone https://github.com/yourusername/students-dashboard.git cd students-dashboard -
Install dependencies:
composer install npm install
-
Set up environment variables:
Copy the
.env.examplefile to.envand update the necessary environment variables, such as database credentials.cp .env.example .env
-
Generate application key:
php artisan key:generate
-
Run migrations and seed the database:
php artisan migrate --seed
-
Build the frontend assets:
npm run dev
-
Start the development server:
php artisan serve
- Visit
http://localhost:8000to access the application. - Log in or register to access the Students Dashboard.
- CRUD Operations: Create, Read, Update, and Delete students.
- Validation: Server-side validation for student data.
- Modals: Use of Material-UI modals for adding and updating students.
- Notifications: Success messages on CRUD operations.
- GET
/studentsdashboard: Display the students dashboard. - POST
/addStudent: Add a new student. - PATCH
/updateStudent/{id}: Update an existing student. - DELETE
/deleteStudent/{id}: Delete a student.
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.