Simple API for Blog Post (CRUD) with Laravel 6.0, uses the API resources as backend and vue.js as front end.
Quick Start
laravel_api_blog
composer install
composer create-project giant41/laravel-api-blog
cd laravel-api-blog
php artisan migrate
php artisan db:seed
php artisan key:generate
List all articles with links and meta
- GET
api/articles
- Get
single article
- GET
api/article/{id}
- Delete
article
- DELETE
api/article/{id}
- Add
article
- POST
api/article
title/body
- Update
article
- PUT
api/article
article_id/title/body