This is Simple Library Management System. is a software used to manage all the books in a library. This helps to keep the records of whole transactions of the books available in the library a System that will manage books and users activity.
- Install PHP Composer
download Composer here:
- Install Node
Download Node here:
- Install XAMPP
- Run XAMPP
- start MYSQL in the XAMPP Controll Panel
Download XAMPP here:
In the Project directory, perform the following commands
RUN
npm install
composer install
-
create new file and name it ".env".
-
copy the content from ".env.example" and paste it to the newly created ".env". change the DB_DATABASE, DB_USERNAME, DB_PASSWORD to your setting.
example:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=library_ms
DB_USERNAME=root
DB_PASSWORD=
We generate secret key and update composer running the following commands in the terminal/cmd
php artisan key:generate
composer update
We will add tables to the database we created
php artisan migrate
We generate Users and Admin of the application
php artisan db:seed
in the terminal/cmd:
php artisan serve
After seeding the database. with php artisan db:seed
you can Login as Admin.
email Address:
password
password
You can change the password and email of the Admin after you login. You can chane it at "Account Info"