How rahulpastam/rphms_frontend-1 works
Project type and purpose
• This is a single-page application (SPA) built with React and Vite.
• Its goal is to deliver a client-side web interface with multiple pages (Home, About Us, Appointment, Login, Register) and reusable UI components.
File structure
• Top-level:
• index.html – the SPA entry point
• public/ – static assets (e.g., images for departments)
• src/ – application source code
• vite.config.js – Vite build/dev server configuration
• src/ breakdown:
• main.jsx – bootstraps the React app (ReactDOM.render + BrowserRouter)
• App.jsx & App.css – root layout, common styles
• Pages/ – route-level components mapped via React Router
• components/ – smaller, reusable UI pieces (Navbar, Hero, Forms, Footer, etc.)
Key README insights
• Uses Vite for fast HMR and build pipeline
• React with ESLint rules enforced
• No backend or API code in this repo—pure frontend