Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mosinve/catalog-api

Test task
https://github.com/mosinve/catalog-api

catalog-api php7 psr-7 rest-api skills-test

Last synced: 13 days ago
JSON representation

Test task

Awesome Lists containing this project

README

        

# catalog-api

test project

>**docker** is very recommended to checkout this project

1. Clone or download;
2. Install project dependencies by: `composer install`
3. Go to docker-enviroment directory;
4. At `.env` file edit parameter `{DOCKER_HOST_IP}` to your Docker host IP;
5. To build containers, execute: `docker-compose build`;
6. To run docker containers execute: `docker-compose up -d`;
7. In config.php change `basePath` to `http://{DOCKER_HOST_IP}/api/v1/products`
8. Also change mysql server ip to `{DOCKER_HOST_IP}`
9. Open browser and go to `http://{DOCKER_HOST_IP}/api/v1/products`