/rest-api

Laravel restfull api boilerplate

Primary LanguagePHPMIT LicenseMIT

RestAPI - Based on Laravel with Docker

Build Status Release Code Size Last commit License

Laravel 5.8 Restful API boiler plate with auth, crud and json responses.

Install application.

  1. Clone repository and setup.
    git clone git@github.com:nicp0nim/rest-api.git
    cd rest-api
    cp .env.example .env
  2. Install needed packages.
    composer install
  3. Migrate, install passport and seed database with fake data.
    php artisan migrate:fresh --seed
    php artisan passport:install
  4. Start docker.
    docker-compose up -d