This is a simple student management system that allows you to add, delete, update and view students, teachers and class moderators. It also allows you to assign students to classes and teachers to classes. And also all the users (students, teachers, class moderators and admins) can log into the application and view their profile and do their job as the role they have.
-
First, you have to clone the repository to your local machine. To do so you can run the following command in your terminal.
git clone https://github.com/DasunNethsara-04/sms-v2.git
-
Then you have to navigate to the project directory.
cd sms-v2
-
Now you have to install the dependencies. To do so you can run the following command.
composer install
This will install all the dependencies that are required for the project. If you haven't installed composer yet, you can download it from here.
-
Now you can create a database with mysql. You can use the following command to create the database.
CREATE DATABASE sms;
-
Now you have to migrate the tables to the database. To do so you can run the following command.
php artisan migrate
This will create all the tables that are required for the project.
-
Now you can seed the database with some data. To do so you can run the following command.
php artisan db:seed
This will seed the database with some data.
-
Now you can run the project. To do so you can run the following command.
php artisan serve
This will start the server, and you can access the project by navigating to,
http://127.0.0.1:8000
-
Now you can log into the system using the following credentials.
Admin:
Email: [email protected]
Password: admin123Teacher:
Email:[email protected]
Password: teacher123Student:
Email: [email protected]
Password: student123
If there are any issues, please let me know. I will try to help you as much as I can.