Clone repository to HERD directory
composer install
cp .env.example .env
docker-compose up
php artisan key:generate
php artisan storage:link
php artisan migrate --seed
- Login
admin@me.com
- Password
admin@me.com
*
- Required field
POST
-/api/auth/#
GET
-/api/auth/user
GET
-/api/auth/user
Parameters: page=1
perPage=15
GET
-/api/authors
GET
-/api/authors/:id
Body: first_name*
last_name*
father_name
POST
-/api/authors
Body: first_name*
last_name*
father_name
PUT
-/api/authors/:id
DELETE
-/api/authors/:id
Parameters: page=1
perPage=15
GET
-/api/books
GET
-/api/books/:id
Body: title*
desc
published_at*
image*
authors[]*
POST
-/api/books
Body: title*
desc
published_at*
image*
authors[]*
PUT
-/api/books/:id
DELETE
-/api/books/:id
Parameters: q=
GET
-/api/search