rudy232 / url_shortener_service

API to shorten urls using Node, Express & MongoDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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" }

About

API to shorten urls using Node, Express & MongoDB


Languages

Language:JavaScript 100.0%