How tuanluck/menvibe works
Project type and purpose
• MenVibe is a full-stack e-commerce web application.
• The frontend is a ReactJS single-page application (SPA) using TailwindCSS and React Router.
• The backend (not in this repo) is a Java Spring Boot MVC service secured by JWT, persisting data in MySQL via Spring Data JPA.
• Key user roles are Guest, Authenticated User, and Admin, each with progressively broader capabilities (browsing, cart management, ordering, admin management).
File structure
• Top level: package.json, postcss.config.js, public, src → typical React project.
• public/ contains index.html, manifest.json, robots.txt for static asset delivery.
• src/ houses:
– index.js → ReactDOM.render, entry point.
– App.js, App.css → root component and styling.
– src/Pages/ → page components (LoginPage, RegisterPage, ForgotPassword, ResetPassword).
– css/ → global CSS index.css.
– setupTests.js, reportWebVitals.js, App.test.js → test and telemetry scaffolding.
• No backend code here; the frontend communicates with a separate Spring Boot API over fetch.
Extract additional insights from README
• The README outlines user stories and features per role.
• It specifies the tech stack: ReactJS + TailwindCSS + React Router + fetch + LocalStorage on frontend; Java Spring Boot + JWT + Spring Data JPA + MySQL on backend.