Case 03 / 03
Full-Stack / E-commerce / Web3
Sake World / Leaf
A full-stack e-commerce and Web3 platform combining frontend, backend, database, and Web3 integration.
Role
Full-Stack Engineer
Type
Full-stack e-commerce and Web3 platform
Context
Sake World is an e-commerce platform with a Web3 side: a product catalog, a conventional checkout, and wallet-based actions for items and community access.
Two kinds of visitors meet in the same product — customers who expect a fast retail experience, and users who arrive with a wallet already connected.
Problem
The platform had to serve a standard storefront and a Web3-enabled experience at the same time. The architectural constraint was keeping the frontend fast and accessible while wiring up backend services, a PostgreSQL database, and Web3 on-ramps without fragmenting the codebase.
Duplicating screens for the wallet path would have meant two checkout flows to keep correct, two sets of states to test, and two places for accessibility to regress.
Approach
The approach was to keep one model of the data and one path through the flows, and let the Web3 pieces plug into it.
- 01
Model the catalog once
Products, orders, inventory, and users live in PostgreSQL behind a single API, so the storefront and the wallet flows read and write the same records.
- 02
Make the flows composable
Checkout and wallet actions are built as multi-step flows that can be entered from either surface, so a wallet action does not need its own copy of the cart, address, or confirmation screens.
- 03
Put payments behind the order
Payment integration sits behind the order workflow, so an order is created the same way whether it started in the storefront or from a wallet action.
My Contribution
I worked across the storefront, the API, and the database, and connected the Web3 pieces to the same order and user records.
- Contributed to full-stack application development across frontend interfaces and backend services.
- Developed backend functionality and API integrations supporting e-commerce and Web3-related application workflows.
- Worked with PostgreSQL-backed data management to support application functionality.
- Connected user-facing application features with backend services to support the overall product experience.
Results
- Developed backend functionality supporting the application's e-commerce and Web3-related workflows.
- Integrated application APIs with PostgreSQL-backed data management.
- Contributed to full-stack development across the application's user-facing and backend components.
Stack
- Next.js
- React
- TypeScript
- Node.js
- PostgreSQL