itsalb3rt / sheiley-shop-api
Sheiley Shop API REST
1.3
2019-08-26 23:33 UTC
Requires
- izniburak/pdox: ^1.3
- ligne/error-handler: ^1.0
- ligne/session: ^1.2
- symfony/http-foundation: ^4.3
This package is auto-updated.
Last update: 2025-03-18 23:38:42 UTC
README
The REST API is made in PHP so a server with PHP 7.1 or higher is required.
$ git clone https://github.com/itsalb3rt/sheiley-shop-api.git
$ make install-dependencies
Backend production
In the env
file you have a API_ENVIRONMENT
variable that can be set to production
or development
.
#make serve
API_ENVIRONMENT=pro
Docker
The API
is ready for using with docker, copy the .env.bak
file and rename it for .env
and set your configuration.
# install dependencies make install-dependencies # Production docker-compose up -d # Development docker-compose -f docker-compose-dev.yml up -d
⚠️ If you do not use Traefik
, remove the labels
and the networks
section of the docker-compose.yml