Skip to content

SRobotSoftware/reallyshorturlonline

Repository files navigation

ReallyShortUrl.online

About

Really Short URLs Online is a small project utilizing Next.js to create a link shortening service.

The service takes a user submitted URL, checks validity, checks for duplicate entries, checks safety, and then returns a shortened link to the user.

Stack

Data

Schema

The standard ObjectId for _id has been replaced with an md5 hash of the longUrl

{
  "_id": "8ffdefbdec956b595d257f0aaeefd623",
  "urlCode": "B6CWoFetRwDNzsTmMbKbO",
  "longUrl": "https://www.google.com",
  "hits": 4,
  "date": "1654907548360"
}

Indexes

field type reasoning
_id unique, ascending Primary key
urlCode unique, ascending Frequent Lookup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks