/larticles_api

Laravel 5.5 API using resources

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

## App Info

### Author

Brad Traversy
[Traversy Media](http://www.traversymedia.com)

### Version

1.0.0

### License

This project is licensed under the MIT License