This is the serverless backend part of the Catskills Hike Planner.
Deploy:
sls deploy --param=git_sha=$(git rev-parse HEAD)
(The git SHA is used as a cache key.)
Local development:
poetry run python devserver.py
curl \
--request POST \
'http://127.0.0.1:5000/find-hikes' \
--header 'Content-Type: application/json' \
--data-raw '{"peaks": ["H", "BD", "TC", "C", "Pl", "Su"]}'