Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.02 KB

README.md

File metadata and controls

52 lines (36 loc) · 1.02 KB

Scrutinizer Code Quality Build Status

All endpoints are covered with tests, which can be found in tests folder.

Instructions

Requirements

  • PHP 8
  • Composer
  • PostgreSQL

Getting started

  1. Install dependencies:
composer install
  1. Make a new configuration file:
cp .env.example .env
  1. Generate encryption key:
php artisan key:generate
  1. Edit .env file to set your database credentials.

  2. Execute database migrations and run "seeding" by using --seed option:

php artisan migrate --seed

Running tests

php artisan test

Preview docs locally

php artisan scribe:generate
php -S 127.0.0.1:4000 -t=docs