This project implements a simple library management system using PHP and Laravel. The project is a part of the course at Tokyo City University. The system implements the following features:
- User registration and login for two types of users: admin and normal user
- Admin can add, edit, and delete materials
- Users can borrow and return materials
- Admin dashboard shows the total number of materials borrowed and how many overdue materials are there
- User dashboard shows the number of materials borrowed by the user and the number of overdue materials to return.
- Clone the repository
- Create .env file -
cp .env.example .env
- Run
composer install
- Generate an app key -
php artisan key:generate
- Run
npm install
- Run
npm run dev
- Run
php artisan migrate
- Run
php artisan serve
- Open
localhost:8000
in your browser - Log in with admin "
[email protected]
" / "password
" or register a user