Skip to content

devrakapriyo/laravel_vue

Repository files navigation

Laravel Vue

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

Quick Start

# Install Dependencies
composer install

# Create Database
name database "larticlesapp"

# 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

v.0.1

### License

This project is licensed under the MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published