First clone via git bash
or download it. It is a RESTful api, you will find angular
app angular-laravel .
Create your database with name laravel_api
, you may change later.
After creating database, run this command in your terminal
make init
php artisan serve
auth:api
middleware, so you have to register or login to navigate those uri's.http://localhost:8000/api/register
http://localhost:8000/api/login
http://localhost:8000/api/logout
http://localhost:8000/api/me
http://localhost:8000/api/refresh
GET
, URI
- http://localhost:8000/api/book
POST
, URI
- http://localhost:8000/api/book
PUT
, URI
- http://localhost:8000/api/book/{id}
DELETE
, URI
- http://localhost:8000/api/book/{id}
angluar
app.