ORDER AND STRUCTURE ANALYSIS
The hierarchical order the Quiz Appearing Platform is as follow –
This is the basic hierarchical model of our project CareNest – The Healthcare
Community Platform, it is structured into a well-defined hierarchy that
integrates front-end, back-end, and database layers to create a seamless user
experience. The front end handles URL routing, links stylesheets for visual
design, and manages routes to direct requests to the appropriate back-end
controllers. The back end includes database connections (likely MongoDB),
processes and manipulates data, manages user authentication, and generates
tokens for secure sessions. Mongo Server stores the user model, defines user
data structure, and leverages AI datasets for analysis or predictive
functionalities. Together, these components generate the outcome, a user
interface that ensures secure access and allows data inspection, offering a
comprehensive, secure, and responsive digital healthcare platform.
This workflow cum ideology model outlines CareNest, operating on a dual-server
structure where front-end and back-end servers communicate via CORS (Cross-
Origin Resource Sharing) policy to ensure secure data exchange and a seamless
user experience. When a user accesses the website and submits credentials, the
back end verifies them against the database. For new users, credentials are
saved, a token is generated, and upon login, this token is sent to the front end to
authenticate the user. The front end’s main component, structured around the
App.jsx file, includes permanent components (such as the header and footer) and
a dynamic <Outlet/> component that serves as the display area for various
routes using layouts from react-router-dom. The header displays login and
signup buttons until the user is logged in, while the outlet dynamically renders
one of five main pages: signup, login, landing, home, or a not-found page. The
"Home" page itself consists of permanent elements, like a sidebar with various
route options (AI Assistant, task board, password vault, BMI calculator, medicine
reminder, and an "About Us" section), and conditionally rendered content based
on the user’s selections. When the user logs out, they are redirected to the
landing page, losing access to the platform’s tools and features. This workflow
enables CareNest to securely and efficiently guide users through a personalized
healthcare experience.