Url Shortener | Coderz Product

URL Shortener

Last updated:

0 purchases

URL Shortener Image
URL Shortener Images
Add to Cart

Description:

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.

Features:

  • Shorten URLs: Quickly generate short links for long URLs.
  • Firebase Sync: Real-time storage and retrieval of URL data using Firebase.
  • Responsive UI: A simple and clean interface built with HTML and CSS.
  • High Performance: Lightweight and optimized for speed.

Requirements:

  • Backend: Node.js
  • Database: Firebase Realtime Database
  • Frontend: HTML, CSS, JavaScript

Instructions:

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

  1. Create a Firebase project in the Firebase Console.
  2. Add your Firebase credentials to the project:
    • Create a 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.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.