Url shortening service developed in Node.js & Express using Redis for data persistence. Frontend built using Svelte.
See frontend/README.md
and backend/README.md
for more information on how to run for development.
Everything is deployed from Github Actions to AWS, using claudia, AWS Lambda and ElastiCache. Deploy is currently disabled. To copy, to your own AWS Account:
- Create security group for lambda, with permissions to send outgoing traffic
- Update Github Actions config with your security group and subnet ids
- Create AWS credentials and add as secrets to Github (AWS_ACCESS_KEY_ID & AWS_SECRET_ACCESS_KEY)
- Uncomment creation and deploy steps
- Run action at Github
- Attach a security group to the created Redis instance that allows traffic from the lambda
- Optionally. Add DNS configuration