Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

Latest commit

 

History

History
39 lines (29 loc) · 1.98 KB

readme.md

File metadata and controls

39 lines (29 loc) · 1.98 KB

Laravel 5 API Boilerplate

Build StatusLatest Stable Version Total Downloads Latest Unstable Version License

A bit of scaffolding we're using to create some web services on Laravel 5.

Usage

To get started, clone this repository and run:

$ composer install

After thats finished, you'll need to create a test database in order to run your tests. One way to do so is:

$ cp .env.testing .env
$ touch storage/testing.sqlite
$ php artisan migrate --env=testing
$ vendor/bin/codecept run

This will set your applications default runtime to the 'test' environment. If you want to change that (i.e for local testing), just copy .env.example to .env and then edit .env to match your local settings.

$ cp .env.example .env

More on Laravel 5 environment variables

Features

  • Acceptence testing with Codeception, using an API suite.
  • Travis build with migrations and test runner.
  • Various packages (listed below) that are useful in our development.

Packages