Skip to content

saadfrhan/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener

URL Shortener using Node.js, Express, SQLite, TypeScript, and nanoid.

With this server app, you can input a long URL and get a short one, such as localhost:3000/abc123, which will redirect to the original URL.

Tech Stack:

  • Node.js
  • Express.js
  • SQLite (via sqlite3)
  • TypeScript for type safety
  • nanoid for generating unique IDs
  • Simple CSS for styling

Setup

# Clone the repository
git clone https://github.com/saadfrhan/url-shortener.git
cd url-shortener
# Install dependencies
pnpm i
# Start the server
pnpm start

About

URL Shortener using Node.js, TypeScript and Sqlite

Topics

Resources

Stars

Watchers

Forks