Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
routes
storage
tests
.editorconfig
.env.example
.gitattributes
.gitignore
artisan
composer.json
composer.lock
package-lock.json
package.json
phpunit.xml
readme.md
server.php
webpack.mix.js

readme.md

Basic Laravel CRUD API

Uses article model and use seeds and factories to create dummy data. Built the api endpoints with a resource.

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

Version

1.0.0

License

This project is licensed under the MIT License

You can’t perform that action at this time.