Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 566 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 566 Bytes

ShrLnk

A simple MERN-based link shortener. You can check out a demo here.

alt text

Getting Started

  • Install dependencies
npm install
  • Start the react app
npm run fend-start
  • Start the node.js ShrLnk server
npm start

Endpoints

  • POST /api/

    • body { "link": [enter your link here] }
    • Takes any link and produces a corresponding shortened link.
  • GET /api/:link

    • Takes a shortened link token and returns the original link.