Skip to content

Back-end service to get a shortened URL and to covert a previously shortened URL into a full one

Notifications You must be signed in to change notification settings

gurugu-test-projects/tiny-url

Repository files navigation

Running the project

From the repo:

  1. Clone this project
  2. Go to the project directory and run npm install
  3. Run npm run start:dev
  4. To get a short URL: hit localhost:3000/encode/ with POST request and pass URL inside the body (e.g. { url: "https://www.google.com" }).
  5. To decode short URL into full URL: hit localhost:3000/decode/ with GET request and pass short URL as the query (e.g. localhost:3000/decode/GeAi9K).

About

Back-end service to get a shortened URL and to covert a previously shortened URL into a full one

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published