AWS Lambda function to persist user and club data to enjoy cycle2work.io
.
After cloning the repository, run npm install
or yarn
to install all dependencies and yarn dev
to start developing.
List of env vars and defaults:
Name | Default |
---|---|
LOG_LEVEL | debug |
STRAVA_ACCESS_TOKEN | |
STRAVA_CLIENT_ID | |
STRAVA_CLIENT_SECRET | |
USERS_COLLECTION | users |
CLUBS_COLLECTION | clubs |
MONGODB_URL | mongodb://localhost:27017/test |
DB_NAME | c2w-mongol |