Online Store API Backend

Backend powering a modern commerce stack. Implemented flexible product variants (predefined + custom), Paystack payment verification with idempotent order creation, dual storage abstraction (Firebase + Cloudflare R2), Sharp-based image optimization, and comprehensive security middleware (rate limiting, origin allowlisting, structured logging).

2024
Platform Infrastructure
9 weeks

Project Gallery

Project overview

Project overview

Technologies

Node.jsRuntime
Express.jsFramework
MongoDBDatabase
Firebase StorageStorage
Cloudflare R2Storage
SharpImage Processing

Key Features

  • Flexible product variant system
  • Secure Paystack webhook flow
  • Image optimization pipeline
  • Dual cloud storage abstraction
  • Comprehensive logging & rate limiting
  • Guest + authenticated checkout support

Results

  • 99.9% uptime in testing
  • Reduced media bandwidth usage
  • Simplified future feature integration

Challenges & Solutions

Ensuring idempotent payment/order flow

Managing multi-provider file storage

Balancing security and developer velocity

Node.jsExpressMongoDBPaystackCloudflare R2Sharp