Skip to content

blakegreendev/sst-url-shortener

Repository files navigation

Edit in Eraser

SST URL Shortener

Deployed the following API endpoint:

https://5ps585eku8.execute-api.us-east-1.amazonaws.com

For example, this endpoint takes in a body of:

{"url":"https://google.com"}

The setUrl lambda function takes in the original url and then creates a uuid and then stores it in Dynamodb with the API endpoint appended with the uuid.

The getUrl lambda function takes in the code or uuid and will automatically redirect to the original url. For example,

https://5ps585eku8.execute-api.us-east-1.amazonaws.com/75c9ccd1

The Dynamodb table is modeled with ElectroDB.

Diagram

Figure 1

Todo

  • Build a frontend with a form

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published