hjJunior / turno-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Turno backend project

Setup the project

Dependencies

  • PHP 8.2.0
  • Postgres

Executing the project (development)

  1. Make sure you have the .env and .env.testing files configured with all required envs

  2. Install the dependencies

composer install
  1. Prepare database
  • Be sure you have one database for local (turno) and other for testing (turno_test)
  • Run the project migrations (php artisan migrate --seed)
  1. Run project (development)
php artisan serve

Default admin user

  • Email: admin@mail.com
  • Password: password

Running tests

Note To run the tests, the current configuration expect you to have a postgres database named turno_test

composer test

About


Languages

Language:PHP 66.5%Language:TypeScript 21.2%Language:Vue 11.1%Language:JavaScript 1.0%Language:Blade 0.2%Language:CSS 0.0%