Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bradtraversy/larticles_vue_app
Laravel 5.5 API with a Vue.js frontend
https://github.com/bradtraversy/larticles_vue_app
Last synced: 2 months ago
JSON representation
Laravel 5.5 API with a Vue.js frontend
- Host: GitHub
- URL: https://github.com/bradtraversy/larticles_vue_app
- Owner: bradtraversy
- Created: 2018-02-19T18:54:07.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-20T12:30:47.000Z (over 6 years ago)
- Last Synced: 2024-05-01T21:06:36.639Z (8 months ago)
- Language: PHP
- Size: 663 KB
- Stars: 124
- Watchers: 19
- Forks: 100
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Larticles Laravel/Vue App
> Laravel 5.5 API that uses the API resources with a Vue.js frontend
## Quick Start
``` bash
# 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
``` bash
GET api/articles
```
### Get single article
``` bash
GET api/article/{id}
```### Delete article
``` bash
DELETE api/article/{id}
```### Add article
``` bash
POST api/article
title/body
```### Update article
``` bash
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