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

nkrantz23/laravel-5-api-boilerplate

Repository files navigation

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

About

Empty REST API project shell.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages