Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 714 Bytes

readme.md

File metadata and controls

24 lines (21 loc) · 714 Bytes

Montreal McFlurry Map

Launch flask app

pip install -r requirements.txt
limit 10 FLASK_RUN_PORT=8000 FLASK_APP=server.py FLASK_ENV=development PGDATABASE=mcflurry PGHOST=127.0.0.1 PGPASSWORD=postgres PGUSER=postgres flask run --host=0.0.0.0

environment variables :

  • FLASK_APP=server.py
  • FLASK_ENV=development
  • FLASK_RUN_PORT=8000
  • PGDATABASE=mcflurry
  • PGHOST=127.0.0.1
  • PGPASSWORD=postgres
  • PGUSER=postgres
  • LIMIT=5 limit number of restaurant menu to fetch to 5

refresh menu of restaurants

/refresh

check status of app and db connection

/health

AWS Lambda

Voir lambda/readme.md