This project is used to POC Slim framework PHP.
CAUTION: this is not a project make in state of the art !
- Docker 17+
git clone [email protected]:yroseau/slim-framework-poc-weather-app.git
cd slim-framework-poc-weather-app/docker
cp .env.dist .env
# Update .env file
docker-compose up
Go to http://localhost:8000/
http://localhost:8000/api/weather/{ISO-3166-country-codes}/{city-name}[/(standard|metric|imperial)]
-
Return temperature in kelvin unit
http://localhost:8000/api/weather/fr/paris
http://localhost:8000/api/weather/fr/paris/standard -
Return temperature in celsius unit
http://localhost:8000/api/weather/fr/paris/metric -
Return temperature in fahrenheit unit
http://localhost:8000/api/weather/fr/paris/imperial
- Use Webpack + babel + uglify
- Translation
- Scss
- Logger
- Use nginx