Skip to content
Vinoth Kumar Esthaki edited this page Jan 24, 2025 · 4 revisions

Welcome to the eCRNow-UI Wiki

This wiki serves as a comprehensive guide for developers, contributors, and users of the eCRNow-UI project. Here, you'll find detailed instructions, best practices, and resources to help you build, configure, and run the application successfully.


Overview

eCRNow-UI is a React-based application that serves as the frontend for the eCRNow solution. The application is designed to streamline electronic case reporting and integrate seamlessly with the eCRNow backend services.

Pre-Requisites

Before setting up the application, ensure you have the following installed on your machine:

  • NodeJS 12.4.1 or above
  • Git

Steps to Build and Run the App

Clone the Repository

git clone https://github.com/drajer-health/eCRNow-UI.git

Build and Run the Application

  1. Navigate to the project directory:

    cd eCRNow-UI
  2. Install dependencies:

    npm install
  3. Start the application in development mode:

    npm start
    • Open http://localhost:3000/ in your browser to view the app.
    • The page will reload automatically if you make edits, and lint errors will be displayed in the console.

Configuration Details

Environment File: .env

Update the following key in the .env file to point to your eCRNow backend service:

REACT_APP_ECR_BASE_URL=<backend_service_base_url>

Placeholders for Upcoming Pages

  • Deployment Guide: How to build and deploy the application in a production environment.
  • Feature Documentation: A detailed guide to the key features of eCRNow-UI.
  • Troubleshooting & FAQ: Solutions to common setup and runtime issues.
  • Migration Plan: Step-by-step instructions for migrating to newer versions or transitioning the application to a different environment.