serverless db and functions for my app to tell me if there is basesball
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Hustlin is a project I created to let me know when there is a home baseball game happening. I get notifications every morning so I can plan my day around not using public transportation before, after, or during baseball games.

The repo contains the code for that JSON API and is powered by a Lambda function that reads from a DynamoDB table. The code for the front-end react app can be found at bdougie/hustlin-react and mobile app at bdougie/HusslnMobile.

Notifications are sent via Postmark every morning at 10am UTC. The code for that can be found at bdougie/scheduled-hustlin-notifications.


git clone
cd serverless-hustl

npm install

Serverless Configuration

This repo leverages the serverless framework to deploy to aws, refer to their documentation for setup instructions.


In order to deploy the you endpoint simply run

serverless deploy

The expected result should be similar to:

Serverless: Packaging service...
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service .zip file to S3 (4.2 MB)...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
Serverless: Stack update finished...
Service Information
service: slshustl
stage: dev
region: us-west-1
api keys:
  GET -
  POST -
  GET -
  GET -
  hello: slshustl-dev-hello
  seed: slshustl-dev-seed
  games: slshustl-dev-games
  today: slshustl-dev-today

There is no additional step required. Your defined schedule becomes active right away after deployment.


To test your function remotely:

sls invoke -f today