Treehacks application portal backend for 2019. See it at https://api.treehacks.com (Swagger documentation).
Put the following variables in a .env
file in the directory:
MODE - mode ("PROD" or "DEV")
COGNITO_USER_POOL_ID - user pool id
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
SLACK_OAUTH_ACCESS_TOKEN
SLACK_ANNOUNCEMENTS_CHANNEL_ID
Example:
MONGODB_URI=abdefg
...
npm i
npm start
npm run mongo
npm test # or npm run tdd
- Add a SAML IdP to user pool with name "Stanford" and URL "https://idp.stanford.edu/metadata.xml"
- Create a lambda function and link it to the Custom Message Lambda Trigger for the Cognito User Pool