Skip to content

Reyes1921/backend-shortner-url

Repository files navigation

en es

Shortner Url (Backend)

API to shorten links to the shortest possible one, try it here shortner-url-fast

📍 Endpoints

require a body with this content


{
    "originalUrl" : "https://www.example.com/"
}

response

 "urlId": "...",
 "originalUrl": "...",
 "shortUrl": "...",
 "clicks": 0,
 "date": "...",
 "_id": "...",
 "__v": 0

🔗 Get the shortened link

https://rjrr.vercel.app/:urlId

👨‍💻 Technologies used

  • NodeJs - open-source, cross-platform JavaScript runtime environment.
  • Express - Fast, unopinionated, minimalist web framework for Node.js.
  • MongoDB - non-relational document database that provides support for JSON-like storage.
  • mongoose - Elegant mongodb object modeling for node.js.
  • nanoid - A tiny, secure, URL-friendly, unique string ID generator for JavaScript.

Static Badge Static Badge Static Badge

✉️ Contact