This application allows you to retrieve a list of test-takers via API call,
using csv and json files as a data source.
Use the following links to receive the list of test-takers via API:
- for
testtakers.csvfile - http://localhost/api/csv; - for
testtakers.jsonfile - http://localhost/api/json.
- php version -
8.0.2 - docker
- clone the project running the following command in terminsl
git clone https://github.com/tatsianazh/test-takers-api.git - Move to the project directory
cd test-takers-api - clone
.env.examplefile and rename it to.env - Run
composer install - Run docker containers:
./vendor/bin/sail up - Generate encryption key:
- go to docker container which uses image
sail-8.2/appusing the following commanddocker exec -it [container id] /bin/bash php artisan key:generate
- go to docker container which uses image
Once the application's Docker containers have been started and encryption key generated, you can access the application in your web browser at: http://localhost.