Journal
A collection of case studies, design journeys, and personal reflections on my work and creative process.
System Design of a Referral System
This article outlines the system design for a referral system, covering key functional and non-functional requirements. It details a data model for users, referrals, and rewards, and proposes a high-level architecture with a load balancer, web and application servers, and a database. The design uses a message queue for asynchronous reward processing. The article also touches on API design and optimizations like caching.
Simple Guide to Integrate Juspay in Your TypeScript React App
This guide provides a step-by-step walkthrough for integrating Juspay into a TypeScript React application. It covers both the frontend and backend implementation, starting with creating a payment session on the server using Node.js/Express. The article then explains how to initiate the payment from a React client, handle the return URL to check the payment status, and process Juspay webhooks to receive real-time payment updates. The author highlights the advantages of using TypeScript for type safety throughout the integration process, which helps in reducing errors and ensuring a smoother development experience.