Lootamo

Comprehensive e-commerce platform specialized in digital game keys and software licensing

View Live Platform →

Project Overview

Lootamo is a comprehensive e-commerce platform specialized in digital game key distribution and software licensing. The platform integrates with the G2A API for product catalog synchronization and license key fulfillment, providing a complete solution for digital product sales with automated inventory management, secure payment processing through Stripe, and instant digital delivery.

The backend is built with FastAPI and PostgreSQL, featuring advanced role-based access control (RBAC), OAuth social authentication, automated product synchronization, and intelligent order fulfillment workflows with retry mechanisms.

Key Features

Backend Development

Authentication & Authorization
  • Implemented complete JWT-based authentication with access and refresh token management
  • Developed OAuth integration for Google and Facebook with account linking
  • Built a role-based access control (RBAC) system with four distinct user roles
  • Created secure password reset and email verification workflows
  • Integrated Redis-based session management for improved performance
G2A API Integration
  • Developed comprehensive integration with G2A API for product catalog synchronization
  • Implemented paginated product fetching with retry logic and error handling
  • Built automated sync workflows using APScheduler for scheduled updates
  • Created detailed sync logging system to track performance and issues
  • Designed database schema for products, categories, images, videos, and system requirements
Payment Processing
  • Integrated Stripe payment processing via Payment Intents API
  • Implemented webhook handling for automated payment confirmation
  • Built complete order fulfillment workflow using G2A order creation and payment APIs
  • Developed intelligent retry mechanism for delayed license key availability (ORD03)
  • Added multi-item order support with parallel license key processing
  • Implemented order expiration system for unpaid orders (24-hour timeout)
Email Notification
  • Built a queue-based email delivery system with background worker
  • Designed professional HTML email templates using Jinja2
  • Implemented retry logic for failed email deliveries
  • Developed email services for welcome emails, password resets, and license key delivery
Database Architecture
  • Designed PostgreSQL database schema using SQLAlchemy 2.0 (async ORM)
  • Created models for users, products, orders, wishlist, cart, and related entities
  • Implemented efficient relationships, indexing, and query optimization
  • Built Alembic-based migration system for database versioning
API Development
  • Designed and implemented RESTful API endpoints for all core features
  • Generated comprehensive API documentation (Swagger / ReDoc)
  • Implemented request validation via Pydantic schemas
  • Built middleware for rate limiting, CORS, security, and logging

Frontend Development

Admin Dashboard
  • Built a complete admin interface with multiple management modules
  • Implemented user management with activation/deactivation features
  • Developed order monitoring with advanced filtering and search
  • Created payment tracking panels showing real-time transaction details
  • Built analytics dashboard with charts and detailed metrics
  • Added scheduler configuration UI for product sync management
  • Developed sync logs viewer with detailed history and timestamps
Customer Experience
  • Implemented product listings with filtering, sorting, and pagination
  • Built a dynamic shopping cart with quantity management and bulk operations
  • Created a wishlist system for saved items
  • Developed full checkout flow with Stripe integration
  • Built order history and license key retrieval pages
  • Implemented user profile management including avatar upload
Authentication UI
  • Designed registration and login flows with validation
  • Implemented OAuth buttons for Google and Facebook
  • Built password reset and email verification interfaces
  • Added UI for account linking with social providers
State Management
  • Developed React Context providers for authentication, cart, and wishlist
  • Implemented persistent state via localStorage
  • Built custom hooks for API calls, forms, and UI logic

Security & Performance

Security Implementation
  • Implemented rate limiting using Redis backend
  • Configured CORS with domain whitelisting
  • Added strict input validation and sanitization across all endpoints
  • Implemented secure JWT token handling and refresh token flow
  • Ensured SQL injection safety via parameterized ORM queries
  • Built encrypted session security with Redis
Performance Optimization
  • Optimized queries with indexes, eager/lazy loading strategies
  • Implemented pagination for high-volume datasets
  • Added Redis caching for frequently accessed resources
  • Used async/await extensively for high concurrency
  • Reduced payload size by selecting only required fields in API responses

DevOps & Monitoring

Logging & Monitoring
  • Implemented a centralized logging system for backend operations
  • Created sync history logs with performance metrics
  • Built error tracking and debugging utilities
  • Developed audit trail for sensitive and critical changes
Scheduler Service
  • Integrated APScheduler for background scheduled tasks
  • Implemented configurable sync intervals (hourly, daily, manual)
  • Added job monitoring and status tracking
  • Built admin controls for rescheduling tasks

Testing & Quality Assurance

  • Ensured high code quality with extensive type hints and documentation
  • Followed clean code principles and modular architecture
  • Implemented robust error handling and graceful fallback behavior
  • Designed user-friendly error messages and notification feedback systems

Technology Stack

FastAPI Next.js Typescript PostgreSQL Google OAuth Meta OAuth G2A APIs Stripe Sendgrid API SEO DigitalOcean

Project Screenshots

Lootamo Interface 1
Preview
Lootamo Interface 2
Preview
Lootamo Interface 3
Preview
Lootamo Interface 4
Preview
Lootamo Interface 5
Preview
Lootamo Interface 7
Preview
Lootamo Interface 7
Preview
Lootamo Interface 7
Preview

Live Demo

Role & Responsibilities

  • Designed and implemented the FastAPI backend with JWT authentication, OAuth social login, and advanced role-based access control (RBAC).
  • Developed G2A API integration for product catalog synchronization and automated license key fulfillment with retry workflows.
  • Built secure Stripe payment flows with webhook handling, order expiration logic, and multi-item order support.
  • Created a queue-based email notification system with professional HTML templates for account and order communications.
  • Developed the React frontend, including admin dashboards, analytics panels, and customer-facing features like product listings, cart, wishlist, and checkout.
  • Optimized performance with Redis caching, async queries, and pagination, ensuring scalability under high concurrency.
  • Configured DevOps workflows with APScheduler for background tasks, centralized logging, and monitoring for sync operations.

Technical Challenges & Solutions

Reliable Product Synchronization & Order Fulfillment

Challenge:Ensuring accurate catalog sync and timely license key delivery despite API delays or failures.

Solution:Implemented APScheduler-based sync jobs with retry logic, detailed logging, and intelligent fallback workflows to guarantee product accuracy and successful order fulfillment.

Secure Payments & High-Concurrency Performance

Challenge:Handling secure Stripe transactions while supporting high-volume concurrent requests.

Solution:Integrated Stripe Payment Intents API with webhook validation, added Redis caching and async query optimization, and enforced strict input validation to maintain both speed and security.

Project Impact

Lootamo delivered a robust e-commerce solution for digital game keys and software licensing, combining automated product sync, secure payments, and instant digital delivery. The platform reduced manual inventory management, improved transaction reliability, and enhanced customer experience with responsive design and real-time order tracking. By integrating advanced monitoring and performance optimizations, Lootamo provided a scalable foundation for digital commerce growth.

× Enlarged screenshot