Welcome to the Sekolah project! This is a basic Laravel application for managing student registrations in a school setting.
- Student Registration: Easily register new students by providing essential information. [Create]
- Student Login: Students can log in to access their accounts. [Read]
- Student List: View a comprehensive list of registered students. [Read]
- Update Account/Student Information: Modify and update your own account information through account management. [Update]
- Remove Account/Student: Remove your own account through account management. [Delete]
Before you begin, make sure you have the following tools installed on your machine:
-
Clone the repository:
git clone https://github.com/Rokuazery/sekolah.git
-
Navigate to the project folder:
cd sekolah
-
Install PHP dependencies:
composer install
-
Copy the environment file:
cp .env.example .env
-
Generate an application key:
php artisan key:generate
-
Configure the database in the
.env
file:Update the following database connection settings in the
.env
file to match your local environment:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database_name DB_USERNAME=your_database_username DB_PASSWORD=your_database_password
-
Run migrations and seed the database:
php artisan migrate --seed
-
Install Node.js dependencies:
npm install # or yarn
-
Compile assets:
npm run dev # or yarn dev
-
Run additional migration for student registration:
php artisan migrate --path=database/migrations/2023_11_30_231835_registrasi_siswa.php
php artisan serve