Effortlessly create and manage shortened URLs with LinkNow. Say goodbye to lengthy web addresses and welcome a streamlined way to share links. Whether you're looking to share content, track clicks, or simply make URLs more manageable, our application has you covered. Experience convenience, simplicity, and efficient link sharing in one place.
Explore the features of the URL Shortener Application, from generating QR codes to toggling between light and dark themes. Get started today and unlock the power of concise, easy-to-share URLs.
- Node.js (v14 or later)
- NPM (Node Package Manager)
- Clone this repository to your local machine.
- Navigate to the project's root directory in your terminal.
git clone https://github.com/jeraldlyh/url-shortener.git
cd url-shortener
- Install the project's dependencies using NPM
cd web && npm i
cd ../backend && npm i
Run both frontend and backend API sever using docker-compose
in the project's root directory
cd url-shortener
docker compose up
Name | Description |
---|---|
FIRESTORE_PROJECT_ID |
Firestore project ID |
FIRESTORE_PRIVATE_KEY |
Firestore private key |
FIRESTORE_CLIENT_EMAIL |
Firestore client email |
AUTH_SECRET |
JWT secret key |
AUTH_SALT_ROUNDS |
Cost refactor to calculate hash |
Access the application by opening your web browser and navigating to http://localhost:3000
The application includes unit tests to ensure its functionality and reliability.
npm test
The wireframe of the project can be found here on Figma.
- In the frontend application, open up the modal via the add button
- Enter the URL you want to shorten in the provided input field.
- You may choose to specify a alias or generate a QR code while creating the shortened URL
- Click the "Create" button.
- The shortened URL will be displayed on the screen. You can now easily share this URL with others via a link or QR code.
- Login to your account using your username and password.
- Once logged in, you will be directed to your user panel.
- Here, you can:
- View the list of URLs you have previously shortened.
- Add new URLs to your list.
- Delete URLs from your list.
Experience modern aesthetics with customizable themes. Toggle between a dark theme and the captivating dracula theme. The application is designed to be fully responsive, ensuring seamless usability across devices.
For added convenience, the application allows you to generate QR codes for your shortened URLs. Simply click the "Download" button next to the URL you want to generate a QR code for. The QR code can be downloaded in either PNG or SVG format.
We welcome contributions to enhance the LinkNow platform. Whether you're a developer, designer, or community advocate, your contributions are valuable in making neighborhoods safer and more connected.
Bug Fixes: Help us identify and resolve bugs to improve user experience.
Feature Enhancements: Add new features that contribute to community engagement and safety.
Documentation: Improve existing documentation or create guides for newcomers.
Feedback: Share your ideas and suggestions to shape the platform's future.
LinkNow - Tiny URLs Big Impact is released under the MIT License.