Skip to content

akshW88/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener

A simple Express.js project that shortens URLs with user authentication using JWT.

Features

  • User signup/login
  • Shorten URLs
  • Redirect from short links
  • Session via cookies

Tech Stack

  • Node.js
  • Express
  • MongoDB
  • EJS

Setup

git clone https://github.com/akshW88/url-shortener.git
cd url-shortener
npm install

Create a .env file in root dir with

JWT_SECRET=your_jwt_secret_key

Have MongoDB run locally at

mongodb://127.0.0.1:27017/short-url-project
npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published