itsalb3rt / sheiley-shop-api

Sheiley Shop API

Home Page:https://documenter.getpostman.com/view/5796243/SzYW315J

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backend

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

Go back to main documentation

About

Sheiley Shop API

https://documenter.getpostman.com/view/5796243/SzYW315J

License:MIT License


Languages

Language:PHP 96.6%Language:HTML 2.6%Language:Dockerfile 0.7%Language:Makefile 0.2%