How eng6bear2wh5/healthcare-ai-web-project works
Project type and purpose
• This is a full-stack HealthCare Web application.
• Frontend: React (JSX) built with Vite, serving both public and admin user interfaces.
• Backend: Node.js/Express (server.js) exposing REST APIs for “disease” and “group” resources.
• Purpose: public site for patients/community (info, forums, events, disease lookup) plus an admin dashboard to create/edit diseases and groups.
File structure
• Top level:
– Backend/ (currently stubbed)
– Frontend/ (complete client + embedded backend folder)
• Frontend/src/backend: Node/Express server entrypoint (server.js) + .env for DB connection.
• Frontend/src/api: client-side modules (diseaseApi.js, groupApi.js) that wrap REST calls.
• Frontend/src/pages & components: React UI components for various routes (Home, About, Category, Community, Pharma, Login).
• Frontend/src/contexts: React Context for global state (CategoryContext).
• Configuration: vite.config.js, package.json, ESLint.
README
• Minimal; confirms the project’s title “HealthCare Web Project.”