mbakin / nestly

This repository is a URL shortener using Nestjs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Nestly

The aim of the project is to develop a URL shortening application using NestJs, MongoDB, and Docker.

Run Locally

Clone the project

  git clone https://github.com/mbakin/nestly.git

Go to the project directory

  cd nestly

Install dependencies

  npm install

Start the server

  npm run start:dev

URL Shortener Architecture

shortener-architecture


Basic use cases:

  - URL shortening: given a long URL => return a much shorter URL
  - URL redirecting: given a shorter URL => redirect to the original URL
  - High availability, scalability, and fault tolerance considerations

System Design Interview – An Insider's Guide,Alex Xu

diagram

Tech Stack

  • Nestjs
  • MongoDB
  • Docker
  • Typescript

About

This repository is a URL shortener using Nestjs.


Languages

Language:TypeScript 88.7%Language:JavaScript 9.4%Language:Dockerfile 1.9%