Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/navaneeth-21/url-shortener-microservice

An URL shortner microservice which is used to shorten the given URL and making it simple to navigate to the url
https://github.com/navaneeth-21/url-shortener-microservice

crypto expressjs freecodecamp-backend freecodecamp-challenge hashing microservice nodejs url-shortener

Last synced: about 1 month ago
JSON representation

An URL shortner microservice which is used to shorten the given URL and making it simple to navigate to the url

Awesome Lists containing this project

README

        

# URL Shortener Microservice
A Url shortner microserivce which is used to shorten the url provided using crypto package(hashing)
- Validates the provided url using a package 'validator'
- converting the url into a 8 digit hashed integer using crypto which can navigate to the actual url
- It consists of following Endpoints :

- POST REQUEST ( ' /api/shorturl ' ) => stores the provided url in a In-memory storage called MAP
- GET REQUEST ( ' /api/shorturl/:shorturl ' ) => navigate to the actual link using the shorturl