Welcome to the URL Shortener project! 🚀 This simple yet powerful application allows you to shorten URLs effortlessly.
The project consists of two main folders:
- backend - Server-side code using Express.js and SQLite3.
- client - Frontend built with React.js.
- Framework: Express.js
- Database: SQLite3
- Framework: React.js
- Input any URL and get a shortened version instantly.
- Simple, clean, and responsive user interface.
git clone https://github.com/abdullaabdullazade/url-shortener.git
- Navigate to the
backend
directory:cd backend
- Install dependencies:
npm install
- Start the server:
npm start
- Navigate to the
client
directory:cd client
- Install dependencies:
npm install
- Start the development server:
npm start
- Open the frontend in your browser at
http://localhost:5173
. - Enter a URL in the input field.
- Click the Shorten button.
- Receive your shortened URL! 🎉
- Ensure the backend server is running before accessing the frontend.
- The SQLite3 database will be automatically initialized when the backend starts.
Feel free to fork the repository and contribute! Pull requests are always welcome.
Happy Coding! 💻