A full-stack URL shortener application that allows users to create, manage, and analyze shortened URLs. The application includes user authentication, analytics, and a dashboard for managing links.
- User authentication (login/logout)
- Create shortened URLs with optional custom aliases
- View and manage your links in a dashboard
- Analytics for tracking clicks and user activity
- Expiration dates for links
- Responsive design
- React
- Redux Toolkit
- Tailwind CSS
- Node.js
- Express
- MongoDB
- Node.js (v14 or later)
- MongoDB (local or cloud instance)
git clone https://github.com/Divya15566/url_shortener.git
cd url-shortenercd server
npm installcd ../client
npm installCreate a .env file in the server directory with the following variables:
MONGODB_URI=<your-mongodb-uri>
JWT_SECRET=<your-jwt-secret>
BASE_URL=http://localhost:5000
cd server
npm startcd ../client
npm startOpen your browser and navigate to:
http://localhost:3000