Skip to content

sushiljacksparrow/tinyurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyURL service is standalone service which creates tiny URLs and stores them in SQL DB.

There are many online services available online I created one.

This package comes along with a Docker file which can package an application and create an image. Here are the steps which will be required to set this service lcoally

  1. git clone https://github.com/sushiljacksparrow/tinyurl.git
  2. docker build -t tinyurl .
  3. docker tag tinyurl <DOCKER_REPOSITORY>/tinyurl:1.0
  4. docker push <DOCKER_REPOSITORY>/tinyurl:1.0
  5. minikube start
  6. kubectl apply -f deployment.yml
  7. kubectl apply service.yml
  8. kubectl port-forward service/tinyurl-service 8080:80

Once it is set up then you can use PostMan and hit URL


Response ` { "tiny_url": "" } `

About

Tiny URL service written in Go language. Uses docker to create images and Kubernetes to deploy the service

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors