You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Overview:

The goal of this dashboard is to allow researchers to analyse data collected from participants and gain insights into infant health. The dashboard is a React.js web application and is supported by the backend-offline team.

Setup and Installation:

  1. Clone frontend-web github repository. You need to get access as this is not a public repository.
          
           git clone https://github.com/infant-nutrition-project/frontend-web.git
        
  2. Open terminal, cd to the folder frontend-web and run the following commands to install necessary packages. You will need to download npm to run these commands, you can do that here.
           cd dev-dashboard 
           cd dashboard-frontend
           npm install
         
  3. To run the code and host the website locally run the following code from the dashboard-frontend folder. Note that browser should launch automatically with the website. As you make changes to the code, the website will automatically reflect these changes as soon as you hit save. 
          
           npm start
        

Getting Familiar with the Code:

  • No labels