A Serverless Node API to interact with your Peloton data built with:
- DataStax Astra Serverless Cassandra Database
- DataStax Astra Document API
- AWS Lambdas
- Peloton API
- Typescript
- Install the Serverless cli:
npm install -g serverless
- Install node modules:
npm install
- Rename
.env.sample
->.env
, fill out all the environments - Load Peloton data into your Astra Serverless database by running
node scripts/loadPelotonData.js
- Configure the AWS CLI
- Deploy your app by running
serverless deploy