Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.01 KB

README.md

File metadata and controls

24 lines (17 loc) · 1.01 KB

shortify

A convenient URL shortener API

Article on Medium

Inspiration

How to code a URL shortener? with some further reading:

Implementation

A simple NodeJS API that shortens a URL and stores original, or returns original URL. It does not redirect when requesting actual URL (for now).

It uses MongoDB for storage with an auto-incremental ID as explained here, implemented with Mongoose API.

Installation

  • Run npm install to install dependencies
    • Run npm run dev to run the server with nodemon (listens for file changes) or,
    • Run npm start to start the server

Licence

MIT