This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
This is a React-based Health Tracking Application designed to help users monitor their health metrics. The app is styled using Tailwind CSS and uses Axios for API requests. The following document outlines the structure and functionality of the frontend pages.
To run this project locally, follow these steps:
-
Clone the repository:
gh repo clone Bhavani-Bojedla/Hospital-Frontend
-
Install Dependencies:
npm install
-
Start the Development Server:
npm start
- React: Used for building the user interface.
- Tailwind CSS: Provides utility-first styling and responsive design.
- Axios: For making HTTP requests to the backend API.
- Redux: Manages global state across the application.
- React Router: Handles navigation and routing within the app.
- Path:
/signin
- Description: Allows users to log in to their account. Includes form validation and error handling.
- Path:
/signup
- Description: Allows new users to register an account. Includes password validation and error handling.
- Path:
/
- Description: Provides a welcome message and introduction to the application. Includes navigation links to other pages.
- Path:
/add-record
- Description: Form for entering health metrics such as body temperature, blood pressure, and heart rate. Supports form validation and data submission.
- Path:
/dashboard
- Description: Displays a list of health records with options to view details or delete records. Includes search and filter functionality for records.
- Path:
/record/:id
- Description: Displays a record with options to edit or delete record.
- Search Functionality: Allows users to search for records based on the date or filter by health metrics (e.g., heart rate above a certain threshold). The search updates automatically as users type.
- Toast Notifications: Used for user feedback on errors or successful actions, such as "failed to fetch records" or "record deleted successfully."
- Tailwind CSS: Utilized for styling components and Utility classes handle different layout adjustments.
- Email: bhavanibojadla8@gmail.com
- GitHub: Bhavani-Bojedla
If you'd like to contribute to this project, please follow the guidelines outlined in the CONTRIBUTING file.