Skip to content

merlinfuchs/Url-Shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Url-Shortener

An Url-Shortener built with aiohttp and mongodb.

Api

You can use the /shorten endpoint to shorten an url. Just make a post request and provide the "url" key with the original url. You will get back the new url in json format.

Dependencies

Hosting

Windows

These are steps to host this website yourself.

  • Install Python 3.6 or higher (including pip)

    • Be sure to select "customize installation" and select "Add Python to evironment variables"
  • Clone this repository or download it as a zip and extract it

  • Open the cmd, navigate in the directory of the website and run the following command:

    • python -m pip install -r requirements.txt
  • Run the web.py file with the python web.py command.

Linux & Mac

Should be easy to adapt from the windows guide.

About

Simple Url Shortener

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published