Skip to content

Slitzweitz/urlshorten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MADE WITH:

 ,-----.,--.                  ,--. ,---.   ,--.,------.  ,------.
'  .--./|  | ,---. ,--.,--. ,-|  || o   \  |  ||  .-.  \ |  .---'
|  |    |  || .-. ||  ||  |' .-. |`..'  |  |  ||  |  \  :|  `--, 
'  '--'\|  |' '-' ''  ''  '\ `-' | .'  /   |  ||  '--'  /|  `---.
 `-----'`--' `---'  `----'  `---'  `--'    `--'`-------' `------'
----------------------------------------------------------------- 

This microservice located at: https://blooming-cove-78461.herokuapp.com

It accepts a url as a parameter (e.g.: https://blooming-cove-78461.herokuapp.com/https://facebook.com), inserts the url into a db and gives a shorter url (e.g.: https://blooming-cove-78461.herokuapp.com/9243). When a user visits the shorter url, they are redirected (e.g.: /9243 ==> https://facebook.com).

About

Stores data in Mongodb, "shortens" passed urls from https://google.com to /5484 (four digits)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors