johanalmquist/cashbookapi

description


Keywords
laravel, cashbookapi
License
MIT-feh

Documentation

cashbookapi

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Requirements

  • Laravel 5.7 or higher
  • Some type of authentication system

Installation

Via Composer

$ composer require johanalmquist/cashbookapi

Publish Configfile and migrations

$ php artisan vendor:publish

Use Provider: johanalmquist\cashbookapi\cashbookapiServiceProvider

Migrate the database

$ php artisan migrate

Usage

###Endspoints Base endpoint: api/cashbook

Vendors

METHOD URI Description
GET vendors Show all vendors
POST vendors Store new vendor
GET vendors/{id} Find and get a vendor
PATCH vendors/{id} Update a vendor
DELETE vendors/{id} Delete a vendor

Categories

METHOD URI Description
GET categories Show all categories
POST categories Store new category
GET categories/{id} Find and get a category
PATCH categories/{id} Update a category
DELETE categories/{id} Delete a category

Transactions

METHOD URI Description
GET transactions Show all transactions
POST transactions Store new transaction
GET transactions/{id} Find and get a transaction
PATCH transactions/{id} Update a transaction
DELETE transaction/{id} Delete a transaction

Change log

Please see the changelog for more information on what has changed recently.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

License

license. Please see the license file for more information.