Giter VIP home page Giter VIP logo

nimurlshortener's Introduction

Contributors Issues MIT License pipeline status

Nim URL Shortener

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.

screenshot

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.

Built With

Installation

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 [email protected]:sophiabrandt/NimUrlShortener.git

Usage

Move into the cloned folder and spin up the docker containers:

cd NimUrlShortener
docker-compose up --build

Visit http://localhost:5001 in your browser.

Tests

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

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

© 2020 Sophia Brandt. Distributed under the MIT License. See LICENSE for details.

Contact

Twitter: @hisophiabrandt

Acknowledgements

nimurlshortener's People

Contributors

sophiabrandt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

malywonsz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.