An open API service indexing awesome lists of open source software.

https://github.com/ayush78588/shortly

A secure, full-stack URL shortener built with Node.js, Express, MongoDB, and EJS. Features user authentication with JWT and bcrypt, click tracking, and editable user profiles—all rendered with server-side templates.
https://github.com/ayush78588/shortly

bcrypt ejs express jwt mongodb nodejs

Last synced: 2 months ago
JSON representation

A secure, full-stack URL shortener built with Node.js, Express, MongoDB, and EJS. Features user authentication with JWT and bcrypt, click tracking, and editable user profiles—all rendered with server-side templates.

Awesome Lists containing this project

README

          

# Shortly – URL Shortener

Shortly is a full-stack URL shortening web application where users can input long URLs and get a shortened version. Built using Node.js, Express, MongoDB and EJS templates.

## Features

- User registration and login (with JWT + bcrypt)
- Authenticated users can shorten URLs
- Shortens long URLs into a simple numeric path
- Redirects short URL to original URL
- Stores links in MongoDB
- Responsive user interface
- Track number of visits per short URL
- Edit user profile details (e.g., name, age)

## Tech Stack

- **Backend**: Node.js, Express.js
- **Frontend**: EJS templates
- **Database**: MongoDB + Mongoose
- **Auth**: JWT (token-based), bcrypt for password hashing