Full Stack Engineer & Infra Lead

2024Client: Direct Yield Marketfullstack
Full Stack Engineer & Infra Lead

Technologies

Full Stack Engineer & Infra Lead | Direct Yield Market

Empowering the rural economy with a direct commerce marketplace for agriculture.

Overview

Direct Yield Market is on a mission to grow Canada's rural economy by connecting farmers directly with manufacturers. As the lead Full Stack Engineer, I was responsible for transforming this vision into a working MVP. My role covered everything from high-level architecture definition to the low-level implementation of payment systems and cloud infrastructure.

Challenges

  • MVP from Scratch: Designing a system that is robust enough for financial transactions but flexible enough to evolve with the startup's needs.
  • Supply Chain Complexity: Handling asynchronous background tasks for order processing and marketplace logic.
  • Infrastructure Automation: Ensuring the system could scale and be maintained without manual intervention through a solid CI/CD pipeline.
  • Secure Payments: Integrating a payment processor capable of handling large-scale bank transfers securely.

Solution

Commerce Architecture: I leveraged MedusaJS to handle the core commerce engine, extending it with custom Express modules to meet the platform's unique requirements.

Infrastructure as Code: Built a complete AWS environment using S3, CloudFront, Route 53, and CloudWatch. I implemented GitHub Actions for automated E2E testing and CI/CD, ensuring that every deployment was verified.

Performance & Reliability: Integrated Redis for caching and BullMQ for managing high-priority background queues, making the system resilient to spiky workloads.

Security: Implemented Google OAuth for secure authentication and integrated a specialized payment workflow for bank transfers.

Results

  • Successful Launch: Delivered the complete MVP, allowing the startup to go live and begin onboarding manufacturers and farmers.
  • Scalable Foundation: Left a fully documented system with a 100% automated deployment process.
  • Direct Impact: The platform now facilitates more affordable crop protection solutions, directly contributing to the growth of rural communities.
Gerardo Perrucci
Let's connect

Interested in a similar project?

Schedule a call to discuss how I can help with your next project