Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nawazm92/lara-bookstore
Laravel based simple bookstore app
https://github.com/nawazm92/lara-bookstore
bookstore http-basic-auth laravel laravel-application laravel-framework rest-api sample-app
Last synced: 10 days ago
JSON representation
Laravel based simple bookstore app
- Host: GitHub
- URL: https://github.com/nawazm92/lara-bookstore
- Owner: nawazm92
- Created: 2017-07-26T14:27:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-05T11:46:07.000Z (over 1 year ago)
- Last Synced: 2023-07-05T12:43:15.133Z (over 1 year ago)
- Topics: bookstore, http-basic-auth, laravel, laravel-application, laravel-framework, rest-api, sample-app
- Language: PHP
- Size: 997 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lara-bookstore
Laravel based simple bookstore app# Setup
* Clone repo
* Run ```composer install```
* Update your database configuration in .env
* Run ```php artisan migrate```
* Run ```php artisan serve```# Usage
For web - Register / Login to manage booksFor REST API, use Postman OR Advanced REST Client (Chrome Extenstions) to test
Note: REST API required HTTP Basic Authentication, so all your api routes needs Authorization header like following
```Authorization: Basic dXNlckBleGFtcGxlLmNvbTpwYXNzd29yZA==```# REST API Routes
- GET: /books
- POST: /books
- PUT/PATCH: /books/{bookId}
- DELETE: /books/{bookId}