Skip to content

A simplified url shortener module on AWS with API Gateway and DynamoDB

Notifications You must be signed in to change notification settings

anandbhaskaran/terraform-aws-url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This module will create two endpoints in the API GATEWAY.

How to use it?

module "url-shortener" {
  source  = "anandbhaskaran/url-shortener/aws"
  version = "1.3.2"
}

Create a new short url

POST endpoint-url/short

Body:

{
    "slug":"google",
    "long_url":"https://google.com"
}

Use a short url

GET endpoint-url/{slug} You will be redirected to this page

About

A simplified url shortener module on AWS with API Gateway and DynamoDB

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages