From 63cd800615f6995925b37d3021b00e479ff5d147 Mon Sep 17 00:00:00 2001 From: yashwin-foxy Date: Tue, 26 Aug 2025 19:28:01 +0530 Subject: [PATCH] ui changes --- README.md | 92 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 63 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index ad382da..c32c172 100644 --- a/README.md +++ b/README.md @@ -184,8 +184,8 @@ API Request → Redux Action → State Update → UI Re-render → User Interact **For Android Development:** - **Android Studio**: [Download from developer.android.com](https://developer.android.com/studio) -- **Android SDK**: API level 21 (Android 5.0) or higher -- **Java Development Kit (JDK)**: Version 11 or 17 +- **Android SDK**: API level 29 (Android 5.0) or higher +- **Java Development Kit (JDK)**: Version 17 and above - **Android Emulator**: For testing without physical device **For iOS Development (macOS only):** @@ -198,7 +198,7 @@ API Request → Redux Action → State Update → UI Re-render → User Interact #### **1. Clone the Repository** ```bash # Clone the project -git clone +git clone cd NeoScan_Radiologist # Verify the structure @@ -226,15 +226,7 @@ nano .env **Required Environment Variables:** ```env # API Configuration -API_BASE_URL=https://api.neoscan.com -API_TIMEOUT=30000 - -# Authentication -AUTH_TOKEN_KEY=neoscan_auth_token -REFRESH_TOKEN_KEY=neoscan_refresh_token - -# DICOM Viewer -DICOM_VIEWER_URL=https://viewer.neoscan.com +BASE_URL=https://neoscan-backend.tech4bizsolutions.com ``` #### **4. Start Development Server** @@ -471,24 +463,66 @@ interface RootState { -### **Testing Strategy** +### **User Signup Flow Diagram** -#### **Unit Testing** -```bash -# Run unit tests -npm test - -# Run tests with coverage -npm run test:coverage - -# Run specific test file -npm test -- PatientCard.test.tsx ``` - -#### **Component Testing** -- **React Native Testing Library**: Component behavior testing -- **Jest**: Test runner and assertion library -- **Mock Services**: API service mocking +┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ +│ App Launch │───►│ Email Entry │───►│ Email Check │ +└─────────────────┘ └─────────────────┘ └─────────────────┘ + │ + ▼ +┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ +│ Already │◄───│ Email Exists? │───►│ New Email │ +│ Registered │ └─────────────────┘ └─────────────────┘ +└─────────────────┘ │ + │ ▼ + ▼ ┌─────────────────┐ +┌─────────────────┐ │ Set Password │ +│ Redirect to │ └─────────────────┘ +│ Login │ │ +└─────────────────┘ ▼ + ┌─────────────────┐ + │ Personal Info │ + │ (Name, Age, │ + │ Sex, etc.) │ + └─────────────────┘ + │ + ▼ + ┌─────────────────┐ + │ Upload Hospital │ + │ ID │ + └─────────────────┘ + │ + ▼ + ┌─────────────────┐ + │ Select Hospital │ + │/Institution │ + └─────────────────┘ + │ + ▼ + ┌─────────────────┐ + │ Wait for Admin │ + │ Approval │ + └─────────────────┘ + │ + ▼ + ┌─────────────────┐ + │ Admin Review │ + │ Complete │ + └─────────────────┘ + │ + ▼ + ┌─────────────────┐ + │ Login & Reset │ + │ Password │ + └─────────────────┘ + │ + ▼ + ┌─────────────────┐ + │ Radiologist │ + │ Dashboard │ + └─────────────────┘ +``` ### **Code Quality Tools** @@ -635,7 +669,7 @@ This project is proprietary software developed for healthcare institutions. All ### **1. Environment Setup (5 minutes)** ```bash # Clone and setup -git clone +git clone cd NeoScan_Radiologist npm install