It shrinks URLs and stores how many times the short URL it was clicked.
You can install url-shortener
cloning it from GitHub:
$ git clone https://github.com/xavierigor/url-shortener
Afterwards, you'll have to create a .env file in the root of the project, copy the contents of .env.example to it and modify
SECRET_KEY
andDATABASE_URL
with your own database and secret key.
Use make setup
to activate virtualenv shell, install project's dependencies and run migrations:
$ cd project-name/
$ make setup
Now you can run all tests:
$ make test
And run the Django built-in server:
$ make run
- Fork and clone the project
- Create a new branch from
master
with the name of the new feature, eg:my-new-feature
- Commit your changes to the new branch
- Make a Pull Request
This project is licensed under the MIT license.