A URL shortening service powered by Node.js and Redis
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.deploy
build
src
.autoreleaserc
.babelrc
.dockerignore
.eslintrc.json
.gitignore
.travis.yml
Dockerfile
LICENSE
README.md
kubernetes.yml
package.json
rollup.config.js

README.md

URL Shortener Service

npm Build Status

This is the source code for my URL shortener. I made it as an experiment to see how URL shorteners work under the hood. The source is licensed under MIT so feel free to hack away!

Check out the live version: https://yuk.nu

Install

Install globally using NPM.

npm i @mrgalaxy/shorturl -g

Check that the tool was installed correctly.

shorturl-server --help

Usage

To run a local server, ensure a local Redis server has been started at the default port. Then run the following command:

shorturl-server

This will start a local server at http://localhost:3000.