A serverless app that pulls data about latest Twitter followers to draw and upload a header to the account after a fixed interval. Uses AWS CloudWatch, AWS Lambda, and NodeJS.
- Node v17.4.0
- AWS Lambda
- Twitter API
- Create a
secrets.json
containing Twitter API secrets and place at the root of the project. - Set AWS access token and secret as environment variables.
- Execute
deploy.sh
to deploy the app and check the logs for any errors.
Pushing features and changes follows a fixed step-wise process.
-
dev
- Active development happens in the branch and all the running changes are pushed to this branch. Consider this branch as the nightly builds. Note: Builds of this branch may/may not pass tests, compile or maybe highly unstable -
version
- Aggregated commits are merged to this branch and represents a working version of the project. Represents a sub-version change (v1.1.2 → v1.1.3). No direct commits are to be made to this branch! Note: Builds of this branch may/may not pass tests and work as expected but may compile just fine. -
main
- Release branch. Includes the code that is currently live in production and is tested fully. Represents a sub-version change (v1.1.2 → v1.2.0). No direct commits are to be made to this branch! Note: Builds of this branch pass all the tests and are live. DO NOT MAKE ANY CHANGES DIRECTLY! -
hotfix-<issue>
(Optional) - Temporary branch that contains fixes to urgent issues and can be issued as a patch. Can be directly merged intomain
if the build passes all the tests. Note: Delete the branch after the patch has been merged.
- dotenv v10.0.0
- nodemon v2.0.15
- serverless v3.0.1
- sharp v0.29.3
- twitter-api-client v1.4.0
- Medium
- DEV
- AWS User Docs
- Serverless Docs
- Khushboo Verma's Twitter Banner