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.
- Node.js
- Express.js
- SQLite (via sqlite3)
- TypeScript for type safety
- nanoid for generating unique IDs
- Simple CSS for styling
# Clone the repository
git clone https://github.com/saadfrhan/url-shortener.git
cd url-shortener
# Install dependencies
pnpm i
# Start the server
pnpm start