An open API service indexing awesome lists of open source software.

https://github.com/catlabinteractive/laravel-charon-template

Skeleton app for Charon REST API
https://github.com/catlabinteractive/laravel-charon-template

Last synced: 5 months ago
JSON representation

Skeleton app for Charon REST API

Awesome Lists containing this project

README

          

# Laravel Charon REST API project
[![Build Status](https://travis-ci.org/CatLabInteractive/laravel-charon.svg?branch=master)](https://travis-ci.org/CatLabInteractive/laravel-charon)

This project is built using
* https://github.com/laravel/laravel
* https://github.com/CatLabInteractive/charon

What does this project include?
===============================
Laravel skeleton for a project:
- Laravel 5.7
- Laravel passport with oauth2 implicit configuration
- Charon resource transformer

Installation
============
* `composer create-project catlabinteractive/laravel-charon api`
* Copy `.env.example` to `.env`
* Make sure to set APP_URL in your .env file **before you continue**,
this will make sure the swagger oauth2 client is setup correctly. Also
set your database credentials etc
* Run `php artisan key:generate`
* Run `php artisan migrate`
* Run `php artisan passport:keys` to get api access tokens.

Getting started
===============
Navigate to your-project/docs to load the swagger documentation.