Skip to content

BudhirajaMadhav/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

url-shortener

Just another url shortener written in Go

Steps:

  • Connect to mongoDB
  • Make a router and controller which will take the params from the url, for path and URL and push that to MongoDB.
  • Check if that path still exists, if yes, return error status code(path not available).
  • If user does not provide a path, then generate it with crypto. //for now generated with math.
  • Make a http handler which will lookup the path and redirect it to the respective url, if there's no path then redirect it to default page.
  • Check url correctness
  • Add YAML functionality too.

About

Just another url shortener written in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages