/URL-Shortner-API

It's an Rest API service that can take Long URL from the user and in return sends them a sort URL that serves purpose

Primary LanguageJavaScript

URL Shortener Service

API to create short urls using Node, Express and MongoDB

Quick Start

# Install dependencies
npm install

# Edit the default.json file with your mongoURI and baseUrl
# Use production.json in production env

# Run
npm start

Endpoint to create short url

POST api/url/shorten

{ "longUrl": "xxxx" }

POSTMAN TESTING DEMO

alt text