Skip to content

smuzi-ua/dumka-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0f0c4f9 · Sep 9, 2021

History

25 Commits
Aug 5, 2021
Sep 9, 2021
Apr 26, 2021
Sep 9, 2021
Aug 23, 2021
Apr 26, 2021
Jul 30, 2021
Jul 11, 2021
Sep 9, 2021
Apr 26, 2021
Aug 5, 2021
Aug 23, 2021
Apr 26, 2021
Jul 11, 2021
Apr 30, 2021
Jul 30, 2021
Apr 26, 2021
Aug 23, 2021
Aug 23, 2021
Apr 30, 2021
Apr 26, 2021
Apr 26, 2021

Repository files navigation

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