guil95/api-sample

Sample project skeleton with, container, docker, migrate and auth

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 1

Type:project

2.3.0 2020-05-26 18:23 UTC

This package is auto-updated.

Last update: 2024-04-19 00:31:14 UTC


README

1 - Create the project

composer create-project guil95/api-sample --prefer-source <folder>

2 - Install dependencies

composer install

3 - Stand up the container

cd docker && docker-compose up

4 - Update hosts to url

sudo nano /etc/hosts add 127.0.0.1 apisample.local 

5 - Execute migrate and seeds

  composer migrate && composer seed