Skip to content

Kwarcek/laravel-api-boilerplate

Repository files navigation

Laravel API Boilerplate

Stack

Installation

  1. Clone repository (git clone https://github.com/Kwarcek/laravel-api-boilerplate)
  2. Go to project directory (cd laravel-api-boilerplate)
  3. Copy .env.example file to .env (copy .env.example .env)
  4. Build docker (and allow file-sharing) (docker compose up -d)
  5. Open container with bash (docker exec dc-php bash)
  6. Install node package manager (npm install)
  7. Install composer (composer install)
  8. Generate Laravel app key (php artisan key:generate)
  9. Restart services (supervisorctl restart all)
  10. Deploy application (php artisan app:deploy)

Additional informations

  1. The application will be available at URL http://localhost:8093/
  2. Docker-compose.yml is build for local environment

Testing

Once you've written tests, you may run them using phpunit ./vendor/bin/phpunit

In addition to the phpunit command, you may use the test Artisan command to run your tests. The Artisan test runner provides verbose test reports in order to ease development and debugging: php artisan test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages