Nim URL Shortener is a web application that allows you to do shorten an URL - similar to popular services like bit.ly or TinyURL.
This is a learning project to improve my knowledge of Nim.
Note: Heroku nuked my free live demo because somebody misused it. Currently I don't plan to redeploy it.
If you are interested in this application, you can run it locally if you have Docker-Compose installed.
The project uses Docker and docker-compose. Developed on a Linux machine.
- docker-compose version 1.25.2
- Docker version 19.03
Clone the repository:
git clone git@github.com:sophiabrandt/NimUrlShortener.git
Move into the cloned folder and spin up the docker containers:
cd NimUrlShortener
docker-compose up --build
Visit http://localhost:5001
in your browser.
Start the docker containers in the background, then run the test with nimble
:
docker-compose up -d
docker-compose exec url-shortener nimble c -r tests/database_test
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
© 2020 Sophia Brandt. Distributed under the MIT License. See LICENSE for details.
Twitter: @hisophiabrandt
- Nim Days by Ahmed Thabet
- Nim in Action by Dominik Picheta
- Front-End Challenges Club by Andy Bell