Skip to content

A simple Student Management System with Laravel 11

Notifications You must be signed in to change notification settings

DasunNethsara-04/sms-v2

Repository files navigation

Student Management System

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.

Installation and Setup

  1. 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
  2. Then you have to navigate to the project directory.

    cd sms-v2
  3. 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.

  4. Now you can create a database with mysql. You can use the following command to create the database.

    CREATE DATABASE sms;
  5. 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.

  6. 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.

  7. 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
    
  8. Now you can log into the system using the following credentials.

    Admin:
    Email: test@admin.com
    Password: admin123

    Teacher:
    Email:test@teacher.com
    Password: teacher123

    Student:
    Email: test@student.com
    Password: student123

If there are any issues, please let me know. I will try to help you as much as I can.