/larticles_api-master

Build a Vue.js frontend to the Laravel 5.5 API . It will be a full CRUD app with pagination and a Bootstrap 4 UI.

Primary LanguagePHP

Larticles API

Laravel 5.5 API that uses the API resources. This is an API for an article CRUD app

Quick Start

# Install Dependencies
composer install

# Run Migrations
php artisan migrate

# Import Articles
php artisan db:seed

# Add virtual host if using Apache

# If you get an error about an encryption key
php artisan key:generate

Endpoints

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