Skip to content

Interactive visualisation app for exploring health impacts of urban planning scenarios based on large-scale transport and health simulation modelling.

License

Notifications You must be signed in to change notification settings

jibeproject/jibe-vis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jibe-vis

Interactive visualisation app for exploring health impacts of urban planning scenarios based on large-scale transport and health simulation modelling.

Status

Prototype illustrating potential functionality that we could implement in an interactive tool to make transport and health modelling results from JIBE and similar projects accessible and useful. Through our engagement with stakeholders, we will incorporate and test new functionality that can help meet their needs and achieve this goal. Current at time of writing, 14 June 2024).

Software architecture

Project structure

diagrams/ # Folder containing JIBE-Vis architecture and concept diagrams
app/ # Folder containing the JIBE-Vis web application
├── amplify/ # Folder containing AWS CDK and Amplify backend configuration
│   ├── auth/ # Definition for authentication backend
│   │   └── resource.tsx
│   ├── storage/ # Definition for your storage backend
│   │   └── resource.ts
|   ├── backend.ts # Orchestration of backend infrastructure
├── src/ # React framework UI code
│   ├── components/ # Definition of discrete UI components (e.g. navbar and map)
│   ├── App.tsx # UI code
│   ├── index.css # Styling for your app
│   └── index.tsx # Application entry point
├── package.json # Project metadata file describing dependencies and script running
└── tsconfig.json # Configuration of TypeScript code compilation

This project uses the NodeJS create-react-app template, using the Vite build tool. The application currently draws on AWS Amplify, a framework for streamlined development and deploying of fullstack web applications using AWS cloud infrastructure. However infrastructure as code is mostly defined using AWS Cloud Development Kit (CDK), with exception of the Cognito authentication service. The intention is to transition from the Amplify framework to use the more flexible CDK resources for defining cloud infrastructure.

Requirements

This website is built using Node.js and the Node package manager (npm). Project dependencies installed via npm are listed in packages.json. Node.js is required to install dependencies, and build and run the website locally. With Node.js installed, to run the project locally,

  1. Clone this repository
git clone https://github.com/jibeproject/jibe-vis.git
  1. Install dependencies by running the following command within the jibe-vis/app folder
npm install
  1. Run the app locally by running the following within the jibe-vis/app folder:
npm run dev
  1. Compile and test TypeScript implementation before deploying
npm run build

The website at time of writing is set up to deploy as an Amplify Gen 2 application on push to Github; if build is successful, the updated website should be deployed. Deployment can be monitored via the AWS Amplify console. This approach has been convenient for rapid prototyping, but longer term we may want to rethink the CI/CD implementation and how the website is deployed, hosted and served.

Funding

We gratefully acknowledge funding and resources provided through a 2023 VicHealth Impact Research Grant (Developing tools for knowledge translation in transport and health modelling), and through RMIT AWS Supercomputing Hub (RACE Hub) grants RMAS00013 and CIC00014.

Provenance

This project was bootstrapped with Create React App, and developed based on a series of AWS-related architecture design patterns:

About

Interactive visualisation app for exploring health impacts of urban planning scenarios based on large-scale transport and health simulation modelling.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published