Last updated:
0 purchases
A fast and efficient URL-shortening application built using Node.js, integrated with Firebase Database for real-time data synchronization. This tool allows users to shorten long URLs into concise, shareable links while keeping track of the shortened URLs in the database.
Step 1: Clone the Repository
Fork the project on GitHub and clone the repository locally:
bash
Copy code
git clone https://github.com/your-username/url-shortener.git
Step 2: Install Dependencies
Navigate to the project directory and install the required Node.js packages:
bash
Copy code
cd url-shortener npm install
Step 3: Configure Firebase
firebase-config.js
file in the project root and add the following:
javascript
Copy code
const firebaseConfig = { apiKey: "your-api-key", authDomain: "your-auth-domain", databaseURL: "your-database-url", projectId: "your-project-id", storageBucket: "your-storage-bucket", messagingSenderId: "your-messaging-sender-id", appId: "your-app-id" }; module.exports = firebaseConfig;
Step 4: Run the Application
Start the Node.js server:
bash
Copy code
node server.js
Open your browser and navigate to http://localhost:3000
to access the application.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.