Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mosinve/catalog-api
- Owner: mosinve
- Created: 2017-10-25T12:15:04.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-02T00:15:30.000Z (about 7 years ago)
- Last Synced: 2024-11-11T09:46:04.408Z (2 months ago)
- Topics: catalog-api, php7, psr-7, rest-api, skills-test
- Language: PHP
- Homepage:
- Size: 89.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`