Skip to content

dbetlej/bookshelf_Laravel_RestAPI

Repository files navigation

Book restAPI | Laravel 10

Routes

Users (index / show / store / destroy):

  • /api/users
  • /api/users/{user}
  • /api/users
  • /api/users/{user}

Books (index / show):

  • /api/books
  • /api/books/{book}
  • /api/books/{book}/borrow
  • /api/books/{book}/return

Database - Artisan commands

  • php artisan tinker --execute="\App\Models\Book::factory()->count(60)->create()"
  • php artisan tinker --execute="\App\Models\User::factory()->count(5)->create()"

Seeders:

  • book (60x books)

About

App for borrow books - Laravel 10, restAPI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published