Skip to content

bradtraversy/larticles_vue_app

Repository files navigation

Larticles Laravel/Vue App

Laravel 5.5 API that uses the API resources with a Vue.js frontend

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

# Install JS Dependencies
npm install

# Watch Files
npm run watch

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

About

Laravel 5.5 API with a Vue.js frontend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published