
I was mainly actively involved in the initial and final stages of development.
At the start I handled the overall architecture, business logic, and prototyping of complex frontend components.
Throughout the project cycle I consulted the main developers on the technical side; near the end I actively fixed bugs and worked on technical and logical optimization.
Feature set
- Interactive showcase screen
- Advanced filters
- Custom backend and web interface
- Integration with МойСклад
- Authorization via Yandex OAuth and by phone number
- Integration with the payment system
- Parsing user-generated HTML and custom templates
My work
- Prototyping
- Part of the data-flow
- Initial version of the interactive showcase screen
- Product page: components and logic
- Profile and order pages: components and logic
- Some backend pages: components and logic
- Fixing backend and frontend bugs
- Optimization
- Refactoring
- Code review
- Deployment
- Communication with the customer
Team
Frontend: 3 Backend: 2 Design: 1 Management: 2
Stack
Frontend: Next-js, TypeScript, Radix UI, Zustand, Tailwind CSS, Motion (Framer), htmr, react-hook-form Backend: Java (Spring) Design: Figma Toolchain: GitLab, Docker
First prototype of the showcase component
At first there were certain difficulties with updating boundaries on zoom.
The solution was to proportionally change the component’s scale and width × height simultaneously.
import React from "react"; import clsx from "clsx"; import { motion } from "motion/react"; const totalItems = 2500; const zooms = [ [0.3, 335], [0.5, 200], [1, 100], ]; const data = Array.from({ length: totalItems }).map((_, i) => ({ value: i, scale: [0.4, 0.6, 0.8][Math.floor(Math.random() * 3)], color: ["bg-green-400", "bg-blue-400", "bg-yellow-400"][ Math.floor(Math.random() * 3) ], })); export default function App() { const [constraints, setConstraints] = React.useState([0, 0]); const [scale, setScale] = React.useState(zooms[1]); const containerRef = React.useRef<HTMLDivElement>(null); const dragRef = React.useRef<HTMLDivElement>(null); const updateConstraints = React.useCallback(() => { if (!containerRef.current || !dragRef.current) return; const containerWidth = containerRef.current.offsetWidth; const containerHeight = containerRef.current.offsetHeight; const dragWidth = dragRef.current.offsetWidth; const dragHeight = dragRef.current.offsetHeight; const x = Math.max(0, (dragWidth - containerWidth) / 2); const y = Math.max(0, (dragHeight - containerHeight) / 2); setConstraints([x, y]); }, []); React.useEffect(() => { updateConstraints(); }, [containerRef.current, dragRef.current]); return ( <div className="relative h-screen overflow-clip"> <motion.div onAnimationComplete={updateConstraints} animate={{ scale: scale[0], width: scale[1] + "vw", height: scale[1] + "vh", }} ref={containerRef} className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 overflow-hidden" > <motion.div drag={true} ref={dragRef} dragConstraints={{ top: -constraints[1], bottom: constraints[1], left: -constraints[0], right: constraints[0], }} dragElastic={0.3} dragMomentum={true} className="grid grid-rows-50 grid-flow-col absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-fit h-fit" > {data.map((entry) => ( <motion.div initial={{ opacity: 0, scale: 0.3 }} animate={{ scale: entry.scale, opacity: 1, }} > <motion.div className={clsx( "size-96 flex items-center justify-center rounded-full text-7xl font-bold", entry.color, )} key={entry.value} children={entry.value} /> </motion.div> ))} </motion.div> </motion.div> </div> ); }