# Rust URL Shortener 🚀
A simple and efficient URL shortening service built with Rust and Actix-Web.
## Features
✅ Shorten long URLs into compact, shareable links
✅ Store URLs in a lightweight database (SQLite/PostgreSQL)
✅ Retrieve original URLs using short codes
✅ Simple API with JSON responses
## Tech Stack
- **Rust** 🦀
- **Actix-Web** (Fast and lightweight web framework)
- **SQLx** (Async database interactions)
- **Serde** (Serialization & Deserialization)
## Installation & Running
```sh
# Clone the repository
git clone https://github.com/yourusername/rust-url-link-shortener.git
cd rust-url-shortener
# Run the project
cargo run
Method | Endpoint | Description |
---|---|---|
POST | /shorten |
Shortens a given URL |
GET | /{shortcode} |
Redirects to full URL |
MIT