All Projects → bradtraversy → Url_shortener_service

bradtraversy / Url_shortener_service

API to shorten urls using Node, Express & MongoDB

Programming Languages

javascript
184084 projects - #8 most used programming language

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].