catlabinteractive/laravel-charon

Laravel Charon REST API project

v5.7.0 2019-01-27 15:54 UTC

This package is auto-updated.

Last update: 2024-10-28 11:33:32 UTC


README

Build Status

This project is built using

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.