faroqbright / Book_auther_api

0 stars 0 forks source link

Library Management System API

Overview

Setup Instructions

  1. Clone the repository.
    • git clone <https://github.com/faroqbright/Book_auther_api>
    • cd <Book_auther_api>
  2. Install dependencies.
    • composer install
  3. Set up the environment variables.
    • cp .env.example .env
    • php artisan key:generate
  4. Configure the database in the .env file.
    • DB_CONNECTION=mysql
    • DB_HOST=127.0.0.1
    • DB_PORT=3306
    • DB_DATABASE=your_database
    • DB_USERNAME=your_username
    • DB_PASSWORD=your_password
  5. Run migrations.
    • php artisan migrate
  6. Run the application.
    • php artisan serve

API Endpoints

Authentication

Authors

Books

Conclusion