Skip to content

mklemersson/voucher-pool

Repository files navigation

Maintainability

voucher pool

this is the code used for a voucher pool challenge test

requirements

PHP version >= 7.1

this application is using docker to create containers and run the application, so if you haven't it's not a problem just create a database, run the migrations and update your settings on .env file

running the project

  • clonning and install dependencies
git clone git@github.com:MichaelKlemersson/voucher-pool.git

cd voucher-pool

composer install

cp .env.example .env # just if the post install don't generate the .env file

docker-compose up -d

docker ps # checking if containers are up

docker container exec -it voucherpool-app php artisan migrate

P.S. there is a postman collection voucher-pool-postman.postman_collection.json the could be imported test the api

testing

there are some useful scripts into the composer.json file you can just do:

docker container exec -it voucherpool-app composer test:all

docker container exec -it voucherpool-app composer test:unit path/to/testClass

docker container exec -it voucherpool-app composer testdox

About

code used for a voucher pool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages