LiteLink is a URL shortener application built using Next.js, Tailwind CSS, and Firebase. This project uses Headless UI for UI components.
You can see a live demo of the application here.
Follow these instructions to set up the project on your local machine.
Clone the repository
git clone https://github.com/dharam-gfx/lite-link.git
cd litelink
Install dependencies
npm install
# or
yarn install
Set up Firebase
Create a new Firebase project and set up Firestore, Authentication, and Storage. Copy the Firebase configuration and add them to your environment variables.
Create a .env
file in the root of your project and add your Firebase configuration:
NEXT_PUBLIC_API_KEY=your-api-key
NEXT_PUBLIC_AUTH_DOMAIN=your-auth-domain
NEXT_PUBLIC_DATABASE_URL=your-database-url
NEXT_PUBLIC_PROJECT_ID=your-project-id
NEXT_PUBLIC_STORAGE_BUCKET=your-storage-bucket
NEXT_PUBLIC_MESSAGING_SENDER_ID=your-messaging-sender-id
NEXT_PUBLIC_APP_ID=your-app-id
Start the development server
npm run dev
# or
yarn dev
Open your browser and navigate to http://localhost:3000
to see the application running.
These variables are necessary for connecting to your Firebase project.
This project is licensed under the MIT License. See the LICENSE file for more information.