How shubham08pr/flipkart-clone-frontend works
Project type and purpose
• This is a single-page, full-stack front-end application built with React (bootstrapped via Create React App).
• It implements an e-commerce style UI with product listing, detail pages, cart functionality, and user login.
• State management is handled by Redux (with two reducers: productReducer and cartReducer), supplemented by a React Context (DataProvider) for any shared data.
File structure
• Top-level folders:
• public – static HTML, manifest, robots.txt
• src – all application code
· components – UI split into domain modules (home, header, detail, cart, login)
· redux – actions, constants, reducers, store configuration
· context – a DataProvider wrapper
· service – api.js for HTTP calls
· utils & constants – helper functions and static data
• Configuration/build scripts are implicitly managed by CRA (no custom webpack config)
• No backend code—this is purely a front-end that calls out to an external API via service/api.js.
README for additional insights
• Standard CRA instructions—no custom architecture docs
• Deployment target is a static build (npm run build) served by any HTTP server or CDN