Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

TrimLink πŸ”—

A full-stack URL shortener built with Node.js, Express, MongoDB, TypeScript, and React.


πŸ“Œ Overview

TrimLink is a scalable full-stack URL shortening application that allows users to:

  • Create short URLs from long links
  • Redirect using short codes
  • View generated short links instantly on the frontend
  • Handle errors via centralized middleware
  • Maintain clean architecture across backend and frontend

The system is divided into:

  • Backend (REST API) β€” handles persistence, short code generation, and redirection
  • Frontend (React App) β€” handles user interaction and API communication

βš™οΈ Tech Stack

Backend

  • Node.js
  • Express
  • MongoDB + Mongoose
  • TypeScript
  • ESLint + Prettier

Frontend

  • React
  • TypeScript
  • Fetch / Axios (for API calls)
  • Functional components + hooks

πŸš€ Features

Backend

  • Short code generation
  • Persistent storage
  • Automatic timestamps
  • Centralized error handling
  • RESTful API design

Frontend

  • Input field for long URL
  • Loading state handling
  • Error display
  • Display generated short URL
  • Clean state management using hooks

About

Full-stack URL shortening service built with Node.js, Express, MongoDB, TypeScript, and React, following clean architecture and production-ready backend practices.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages