Marketplace
Craftic — Backend
Backend infrastructure for the Craftic marketplace. Built on Deno 2.x with event-driven architecture, multi-region infrastructure planning, and AWS service integration. Handles authentication, payments, notifications, order processing, and shop management at scale.
Scope of work
- Designed and built entire backend architecture from scratch
- Implemented multi-shop order management system
- Implemented event-driven notification architecture with email outbox pattern for guaranteed delivery
- Configured AWS services from scratch — Cognito (8-digit OTP auth), SES, SNS, DynamoDB, S3, Lambda — with proper IAM policies
- Integrated Stripe Checkout, PayPal, Payoneer, and manual payment methods
- Set up CI/CD pipelines with GitLab CI/CD and Docker
- Configured DigitalOcean infrastructure — Droplets, Managed PostgreSQL, Spaces
- Set up Caddy reverse proxy and Cloudflare CDN
- Planned multi-region infrastructure for future US market expansion
Challenges & solutions
Three main challenges: First, designing a multi-shop cart with per-shop payment method isolation required careful session and state management across concurrent checkouts. Second, implementing a reliable notification system using the email outbox pattern ensured guaranteed delivery even under infrastructure failures. Third, configuring AWS from scratch — Cognito, SES, SNS, DynamoDB, Lambda — with correct IAM policies across services required deep understanding of AWS permission models and cross-service trust relationships.