TinyLinker is a URL shortener web application developed using React.js, MongoDB, Node.js, Express.js, TypeScript, and Vite. It allows users to generate short URLs for long links and provides usage statistics for each URL.
Visit the live website: TinyLinker Live
- URL Shortening: Enter a long URL, and TinyLinker will generate a short URL for you.
- Usage Statistics: Track the number of times each short URL has been used.
- Technologies Used: React.js, MongoDB, Node.js, Express.js, TypeScript, and Vite.
Make sure you have the following installed on your machine:
-
Open your terminal and clone the repository:
git clone https://github.com/Pa1mekala37/MERN-URL-Shortener.git
-
Navigate to the project directory:
cd MERN-URL-Shortener
-
Navigate to the
Backend
directory:cd Backend
-
Install backend dependencies:
npm install
-
Create a
.env
file in theBackend
directory and add the following line, replacing<your-mongodb-url>
with your MongoDB database URL:CONNECTION_STRING=<your-mongodb-url>
-
Start the backend server:
nodemon
-
Navigate to the
Frontend
directory:cd Frontend
-
Install Frontend dependencies:
npm install
-
Start the Frontend server:
npm run dev