URL Shortener API in NodeJS supporting pagination, sort params and lot more

Overview

node-url-shortener

Built with ❤️ in NodeJS

API Documentation - Read here Tweet  - @dhairyaostwal

A simple URL Shortner REST API that uses shortid npm package to generate short endpoints for your long URL. The User can also specify custom_end_param which is essentially a customised endpoint for their long URL.

Features

  1. URL Shorten - custom, default parameters
  2. Paginated API
  3. Sort by created date created_at

Technologies Used

  1. NodeJS
  2. MongoDB Atlas
  3. NPM Package: mongoose
  4. NPM Package: express
  5. NPM Package: shortid

Steps to Run

1. clone the project
2. npm init
3. create .env file for your MONGO_URI
4. Run the server using - npm run start

API Docs

Visit the API Docs here

You might also like...

Piccloud is a full-stack (Angular & Spring Boot) online image clipboard that lets you share images over the internet by generating a unique URL. Others can access the image via this URL.

Piccloud Piccloud is a full-stack application built with Angular & Spring Boot. It is an online image clipboard that lets you share images over the in

Dec 15, 2022

A table component for your Mantine data-rich applications, supporting asynchronous data loading, column sorting, custom cell data rendering, row context menus, dark theme, and more.

A table component for your Mantine data-rich applications, supporting asynchronous data loading, column sorting, custom cell data rendering, row context menus, dark theme, and more.

Mantine DataTable A "dark-theme aware" table component for your Mantine UI data-rich applications, featuring asynchronous data loading support, pagina

Jan 4, 2023

A highly customizable platform ready to be a portfolio website, and become a lot more with some of your own components

A highly customizable platform ready to be a portfolio website, and become a lot more with some of your own components

Vextra Elegant and animated portfolio website. Demo: vextra.vercel.app Vextra is a portfolio template, packed with animations with a satisfying flow t

Sep 19, 2022

⚡ Self-hostable branded link shortener built with Next.js & Notion API

⚡ Self-hostable branded link shortener built with Next.js & Notion API

Notiolink ⚡ Self-hostable branded link shortener built with Next.js & Notion API Made by Theodorus Clarence Installation Guide Please read the full gu

Dec 27, 2022

Group and sort Eleventy’s verbose output by directory (and show file size with benchmarks)

Group and sort Eleventy’s verbose output by directory (and show file size with benchmarks)

eleventy-plugin-directory-output Group and sort Eleventy’s verbose output by directory (and show file size with benchmarks). Sample output from eleven

Oct 27, 2022

Using Htmx, ASP.NET Core, and Marten (postgres document db) to sort list

Using Htmx, ASP.NET Core, and Marten (postgres document db) to sort list

Feb 16, 2022

⛲ Sort import declarations into a pleasing and readable cascade.

⛲ eslint-plugin-cascading-imports This plugin allows to automatically enforce a visual "cascading" order for import declarations. Imports in each bloc

Jan 20, 2022

Sort tsconfig.json compilerOptions

sort-compiler-options Sort tsconfig.json compilerOptions in the same order as the TSConfig Reference (Support v4.5.5 or less) Install npm i sort-compi

Oct 19, 2022

A small CLI to sort any specified json files alphabetically

This is a small CLI to sort any specified json files alphabetically. This was created to sort localization files, but maybe you will find another use case.

Mar 20, 2022
Comments
Owner
Dhairya Ostwal
CS Undergrad | Sometimes looks after @pratiphal & @finCLI
Dhairya Ostwal
Nested Sort is a JavaScript library which helps you to sort a nested list of items via drag and drop.

Nested Sort Nested Sort is a vanilla JavaScript library, without any dependencies, which helps you to sort a nested list of items via drag and drop. U

Hesam Bahrami 40 Dec 7, 2022
Backend API Rest application for ShortLink, a URL shortening service where you enter a valid URL and get back an encoded URL

ShortLink - The Shortest URL (API) Sobre o Projeto | Como Usar | Importante! Sobre o projeto The Shortest URL é um projeto back-end de ShortLink, um s

Bruno Weber 2 Mar 22, 2022
Pagination Manager is an useful framework for improving the use of object pagination in APIs like Discord.

Pagination Manager Pagination Manager is an useful framework for improving the use of object pagination in APIs like Discord. Lightweight module, ES6

tnfAngel 4 Jul 26, 2022
"Pizza Party!" - A Jovo V4 master template supporting a lot of features

"Pizza Party!" - Yet another Jovo V4 master template supporting a lot of features There are a lot of Jovo examples around but I did not find any proje

Frank Börncke 8 Aug 2, 2022
Our super simple URL shortener. Powered by Deno and Supabase.

Feelantera URL Shortener This is our super simple URL shortener. Powered by Supabase and Deno, and Oak for the http framework. You can deploy this pro

Feelantera 16 Oct 14, 2022
A URL shortener that runs on Cloudflare Workers

ITP Works A URL shortener that runs on Cloudflare Workers. It stores the rules in Cloudflare KV storage and sends a 301 redirect when a matched pathna

Yifei Gao 3 Mar 4, 2022
Another full-stack URL Shortener application built using web technologies

URL Shortener Another full-stack URL Shortener application built using web technologies. Technologies Node Express MongoDB React TypeScript Docker Pro

Soroush Chehresa 9 Dec 15, 2022
🔖Minimalistic URL shortener as a microservice

?? u Minimalistic URL shortener as a microservice. Also Klein's successor. ?? stack Node.js TypeScript Express Prisma PostgreSQL Redis Docker Docker C

Faye Keller 9 Jul 17, 2022
An open-source URL Shortener written in Node.js 🔗

What's this? Qurl.gq is an open-source URL Shortener written in Node.js ?? Contributing ideas Apply a custom font Add tests UI Improvements Sanitise u

RedstoneRadiant 7 Oct 7, 2022
Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, local file or post text.

Crayon Syntax Highlighter Supports multiple languages, themes, fonts, highlighting from a URL, local file or post text. Written in PHP and jQuery. Cra

Aram Kocharyan 1.1k Nov 26, 2022