This is the project of Database course, CPE, KMUTT. This web application can manage and register the class for the students in the university. We have 3 roles of user which is
- Student: Can register/withdraw the class, pay the fee (mockup)
- Professor: Can manage the students that registered to their class, also grading them.
- Admin: Can manage and add advisor to each student, manage the registration, add new class, assign a class to the professor, also see the analysis of the data.
- Laravel
- MySQL & phpmyadmin & xampp
- tailwindcss
- Krittin Srithong
- Thanasit Suwanposri
- Siriphorn Jarisu
- Clone this project in to your computer.
- Go to project directory, install dependencies and update composer if needed.
$ cd cpe231_proj4
$ npm install
$ composer update
- Create a new
.env
file at root directory. Copy everything from.env.example
(Default port is 3306) - Generate the app key.
php artisan key:generate
- Go to
vendor/laravel/ui/auth-backend/RegisterUsers.php
and adduse Illuminate\Support\Facades\DB;
at the top, then replace this code inshowRegistrationForm()
$facLists = DB::table('facInfo')->get();
return view('auth.register', [
'facLists' => $facLists
]);
- Start xampp and import the Final_pj.sql to your phpmyadmin.
- Start the developement server.
php artisan serve