Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.75 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.75 KB

c2w-lambda-activities

Language grade: JavaScript Build Status codecov Conventional Commits

AWS Lambda function to persist user activities data to enjoy cycle2work.

After cloning the repository, run npm install or yarn to install all dependencies and yarn dev to start developing.

Env Vars

List of env vars and defaults:

Name Default
LOG_LEVEL debug
STRAVA_ACCESS_TOKEN
STRAVA_CLIENT_ID
STRAVA_CLIENT_SECRET
ACTIVITIES_COLLECTION activities
ATHLETES_COLLECTION users
PROCESSED_ACTIVITIES_COLLECTION processed-activities
MONGODB_URL mongodb://localhost:27017/c2w-mongol
DB_NAME c2w-mongol