laravel-api
                                
                                
                                
                                    laravel-api copied to clipboard
                            
                            
                            
                        This is a simple RESTful api where laravel version is 6
laravel-api
- 
First clone via
git bashor download it. It is a RESTful api, you will findangularapp angular-laravel . - 
Create your database with name
laravel_api, you may change later. - 
After creating database, run this command in your terminal
 
make init
- Run this command to live your RESTful api
 
php artisan serve
- You can check via postman. All books routes are protected by 
auth:apimiddleware, so you have to register or login to navigate those uri's. 
All end points
user routes
http://localhost:8000/api/registerhttp://localhost:8000/api/loginhttp://localhost:8000/api/logouthttp://localhost:8000/api/mehttp://localhost:8000/api/refresh
book routes
- Method 
GET,URI-http://localhost:8000/api/book - Method 
POST,URI-http://localhost:8000/api/book - Method 
PUT,URI-http://localhost:8000/api/book/{id} - Method 
DELETE,URI-http://localhost:8000/api/book/{id} 
- Clone or download angular and run this app. You will see data will load from this server to your 
angluarapp.