https://github.com/rajtoshranjan/url-shortner-backend
URL Shortener backend service
https://github.com/rajtoshranjan/url-shortner-backend
flask gunicorn nanoid pytest sqlalchemy sqlite3
Last synced: 2 months ago
JSON representation
URL Shortener backend service
- Host: GitHub
- URL: https://github.com/rajtoshranjan/url-shortner-backend
- Owner: rajtoshranjan
- Created: 2025-02-07T08:15:04.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-05T17:37:24.000Z (about 1 year ago)
- Last Synced: 2026-05-01T02:33:55.372Z (2 months ago)
- Topics: flask, gunicorn, nanoid, pytest, sqlalchemy, sqlite3
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# URL Shortener Backend Service
This repository provides the backend implementation of a URL shortening service. The service allows users to shorten long URLs into concise, easy-to-share links and manage them efficiently.
## Features
- **URL Shortening**: Convert long URLs into short and manageable links.
- **Redirect Functionality**: Automatically redirect users to the original URL using the short link.
- **Analytics**: Track usage statistics for shortened URLs (e.g., click counts, timestamps).
- **API-Driven**: Expose APIs for integration with other applications or frontends.
- **Scalable Architecture**: Designed to handle high traffic efficiently.
## Tech Stack
This backend service is built with the following technologies:
- **Python**: Core language for the backend logic and API implementation.
- **Flask**: For creating RESTful APIs.
- **SQLite**: A relational database for storing URL mappings and analytics.
## Installation
Follow these steps to set up the project locally:
1. Clone the repository:
```bash
git clone https://github.com/rajtoshranjan/url-shortner-backend.git
cd url-shortner-backend
```
2. Run the server using docker:
```bash
docker-compose up
```