This app allows users to shorten lengthy URLs, making them easier to share and manage. Additionally, it tracks the number of times each shortened URL is clicked, providing valuable analytics.
Clone the repository
git clone https://github.com/53NX-8/url-shortener.git
cd url-shortener
cd client
npm install
cd api
yarn install
Start the Development Server:
cd client
npm run dev
This opens the app in your default browser, usually at http://localhost:5173
Start the Development Server:
cd api
yarn dev
The API server typically starts on port 5096 (http://localhost:5096/).
To run this project, you will need to add the following environment variables to your .env file
PUBLIC_SERVER_URL
DATABASE_URL
CLIENT_URL
Contributions are always welcome!
If you're interested in contributing to this project, feel free to fork the repository and submit pull requests. Please adhere to any coding style guidelines or conventions that may be established.