Back to Projects
🔧

NexCart Commerce

A high-performance headless e-commerce engine with sub-100ms API responses and built-in analytics.

● Live
2022-082023-02backend

Tech Stack

Node.jsGraphQLPostgreSQLElasticsearchRedisStripeDockerKubernetes

Overview

NexCart is a headless e-commerce backend engine designed for performance. It serves product catalogs, cart sessions, and checkout flows via a clean REST + GraphQL API, with Elasticsearch-powered search and Redis caching achieving sub-100ms p99 latency. Built for multi-tenant SaaS deployments.

Key Features

  • REST + GraphQL dual API with auto-generated docs
  • Elasticsearch product search with faceted filtering
  • Redis-based cart sessions and inventory locking
  • Stripe Checkout + Webhooks for payments
  • Multi-tenant architecture with schema isolation
  • Built-in analytics dashboard with Recharts

Challenges & Learnings

  • Achieving sub-100ms responses under high write concurrency
  • Implementing optimistic inventory locking without deadlocks
  • Designing a flexible product schema for diverse use cases