使用Node,Express和MongoDB缩短网址的API
使用Node,Express和MongoDB缩短网址的API
Node.js 其它杂项
共110Star
详细介绍
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" }
-
12 Star
-
306 Star
-
0 Star
-
0 Star
-
0 Star
-
0 Star
-
0 Star
-
0 Star