kingscode/laravel-api-starter

The KingsCode Laravel Api Starter.

v2.2 2020-03-04 12:00 UTC

This package is auto-updated.

Last update: 2024-04-20 09:08:31 UTC


README

PHPUnit

Our base laravel/laravel installation for vue front-end applications.

Usage

Use this repository as a template repository in github or clone the repository.

After install there will be a default user with the following credentials.

email: info@kingscode.nl
password: secret

Installation

With Docker

Docker helps a ton by providing us a unison development environment that allows us to quickly install new dependencies and share the configuration of those.

Begin by pulling the docker containers and booting docker.

docker-compose up --build -d

Then get into the app container.

docker exec -it app bash

Where you'll run the following commands.

cp .env.example .env
composer install
pa key:generate
pa migrate
pa db:seed

Without Docker

You can also run without Docker, but you'll have to do the walk of atonement.

Start by setting up your environment and installing dependencies.

Then run the following to copy the .env file and fill it accordingly:

cp .env.example .env

Then run the following commands to get it all booted up.

composer install
php artisan key:generate
php artisan migrate
php artisan db:seed