The system is designed to manage books in a library .
- Laravel.
- Mysql
- Clone the repository to your local machine using
git clone. - To access books system run
cd book-management. - install the required dependencies by running
php composer update. - Create a copy of the
.env.examplefile and name it.envruncp .env.example .env. - Generate Laravel application key run
php php artisan key:generate. - Run the migrations and seed the database using
php artisan migrate:fresh --seed. - Run the project using
php artisan serve.
- Run the test cases using
php artisan test.
Creates a new book in the system.
Request Body:
{
"title": "test",
"author":"test",
"isbn":"23432423"
}List Books Of the system.