source: frontend/README.md

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 2.1 KB
RevLine 
[9af201e]1# Medora Frontend
[cb0881d]2
[9af201e]3A modern React-based frontend for the Medora Medical Records Management System.
[cb0881d]4
[9af201e]5## Features
[cb0881d]6
[9af201e]7- **Patient Management**: Create, view, and manage patient information
8- **Doctor Management**: Manage doctor profiles and specializations
9- **Appointments**: Schedule and manage medical appointments
10- **Medical Records**: Access and search patient medical records
11- **Billing**: Manage billing records and payment status
12- **Responsive Design**: Works seamlessly on desktop and mobile devices
[cb0881d]13
[9af201e]14## Prerequisites
[cb0881d]15
[9af201e]16- Node.js (v14 or higher)
17- npm or yarn
[cb0881d]18
[9af201e]19## Installation
[cb0881d]20
[9af201e]211. Navigate to the frontend directory:
22```bash
23cd frontend
24```
[cb0881d]25
[9af201e]262. Install dependencies:
27```bash
28npm install
29```
[cb0881d]30
[9af201e]313. Create a `.env` file in the frontend directory:
32```
33REACT_APP_API_URL=http://localhost:8080/api
34```
[cb0881d]35
[9af201e]36## Running the Application
[cb0881d]37
[9af201e]38Start the development server:
39```bash
40npm start
41```
[cb0881d]42
[9af201e]43The application will open at `http://localhost:3000`
[cb0881d]44
[9af201e]45## Building for Production
[cb0881d]46
[9af201e]47```bash
48npm run build
49```
[cb0881d]50
[9af201e]51This creates a production-ready build in the `build` directory.
[cb0881d]52
[9af201e]53## Project Structure
[cb0881d]54
[9af201e]55```
56frontend/
57├── public/ # Static assets
58├── src/
59│ ├── components/ # Reusable React components
60│ ├── pages/ # Page components
61│ │ ├── patients/
62│ │ ├── doctors/
63│ │ ├── appointments/
64│ │ ├── medical-records/
65│ │ └── billing/
66│ ├── services/ # API service modules
67│ ├── App.js # Main app component
68│ ├── index.js # React entry point
69│ └── index.css # Global styles
70├── package.json
71└── tailwind.config.js # Tailwind CSS configuration
72```
[cb0881d]73
[9af201e]74## API Endpoints
[cb0881d]75
[9af201e]76The frontend communicates with the backend API at:
77- Base URL: `http://localhost:8080/api`
[cb0881d]78
[9af201e]79Ensure the backend server is running before starting the frontend.
[cb0881d]80
[9af201e]81## Technologies Used
[cb0881d]82
[9af201e]83- **React 18**: UI library
84- **React Router 6**: Client-side routing
85- **Axios**: HTTP client
86- **Tailwind CSS**: Utility-first CSS framework
[cb0881d]87
[9af201e]88## License
[cb0881d]89
[9af201e]90This project is part of the Medora Medical Records Management System.
Note: See TracBrowser for help on using the repository browser.