How soniikot/euthoricwear-clothing-store works
Project type and purpose
• From the top‐level structure and README this is a full-stack e-commerce web application (“Shopping Cart”) composed of:
• A React + Redux + TypeScript frontend (“client/…”)
• A headless CMS/API backend powered by Strapi (“api/…”)
• A relational database (configured in api/config/database.js)
• A payment integration (Stripe plugin under api/src/extensions/strapi-stripe)
• A Docker Compose orchestration (docker-compose.yml)
File structure
• Two main services at the root: “api” and “client”
• api/
– Strapi project scaffold: config/, database/, src/api/{category,product,order,subcategory}/…
– Plugins/extensions (Stripe), scripts, public/uploads
– Configuration files (server.js, database.js, middlewares.js, plugins.js, etc.)
• client/
– Vite‐based React application (vite.config.ts, index.html)
– State management (Redux slices in src/features)
– Component tree under src/components, pages under src/pages, router under src/router
– Static assets, styles, fonts
– E2E tests (Cypress), unit tests (Jest/React Testing Library)
• Root files: docker-compose.yml orchestrates “client”, “api” and likely a “db” service; package.json scripts; .env examples.
README for additional insights
• Confirms: browsing items, cart management, checkout with payment, user auth, search/filter, favorites
• Technology badges: React v18, Redux v4, TypeScript v4
• Live URL indicating a deployed multi-container setup