Skip to content

ksdinesh-07/URL_Shorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build and Test Security Scan Python FastAPI Docker

🔗 URL Shortener with GitHub Actions CI/CD

A complete URL shortening service with automated CI/CD pipeline using GitHub Actions.

✨ Features

  • 🔗 URL Shortening: Create short URLs with optional custom codes
  • 📊 Analytics: Track click statistics for each shortened URL
  • 🚀 FastAPI: High-performance REST API with automatic documentation
  • 🐳 Docker: Complete containerization for consistent deployments
  • ⚡ CI/CD: Automated testing and deployment with GitHub Actions
  • 🔒 Security: Regular vulnerability scanning and dependency checks
  • 🧪 Testing: Comprehensive test suite with 100% endpoint coverage

🛠️ Tech Stack

Technology Purpose
FastAPI REST API framework
Python 3.11 Backend language
Docker Containerization
GitHub Actions CI/CD automation
Pytest Testing framework
Trivy Security scanning
Uvicorn ASGI server

🚀 Quick Start

Local Development

Clone repository

git clone https://github.com/ksdinesh-07/URL_Shorter.git cd URL_Shorter

Create virtual environment

python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate

Install dependencies

pip install -r requirements.txt

Run the application

uvicorn src.app:app --reload

About

A FastAPI URL Shortener with complete CI/CD pipeline using GitHub Actions. Includes Docker containerization, automated testing, security scanning, and deployment automation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors