Skip to content

Roodi7/Laravel-Authors-and-Books-API

Repository files navigation

Laravel Authors and Books API

This Laravel project provides a RESTful API for managing authors and books by author. It includes endpoints for creating, retrieving, updating, and deleting authors and books.

Getting Started

Prerequisites

  • PHP 8.1or higher
  • Composer
  • Laravel 10.x
  • MySQL or any other supported database

Installation

  1. Clone the repository:

    git clone https://github.com/Roodi7/laravel-api.git
    
  2. Install dependencies:

    composer install
    
  3. Copy the .env.example file to .env and configure your database:

    cp .env.example .env
    
  4. Generate application key:

    php artisan key:generate
    
  5. Run migrations and seed the database:

    php artisan migrate --seed
    
  6. Start the development server:

    php artisan serve
    

Api Documntation

https://documenter.getpostman.com/view/13773222/2s9YknAhb9

About

learning how to use laraval to build api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published