Skip to content

bmusuko/shortener

Repository files navigation

Shortener

Yet another URL Shortener

Feature

  • Shorten URL
  • Custom URL
  • Password protected URL

How to Use

  • Just go to / for demo you can go to here

Api Documentation

  • /api/short/all : [GET] all shortened link
  • /api/create : [POST] create a new shortened link
{
  real_link: string, // valid URL
  desired_link: string , // alphanumeric
}
  • /api/?link={shortened link} - [GET] get destined link

TODO

  • Set Initial Shortener App
  • Handle error
  • Add password protection
  • Add share button

Stack

  • Next JS
  • Mongo DB
PS:
  • this is my first time using Next JS and vercel