Interactive visualisation app for exploring health impacts of urban planning scenarios based on large-scale transport and health simulation modelling.
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).
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.
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,
Clone this repository
git clone https://github.com/jibeproject/jibe-vis.git
Install dependencies by running the following command within the jibe-vis/app folder
npm install
Run the app locally by running the following within the jibe-vis/app folder:
npm run dev
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.
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.
This project was bootstrapped with Create React App, and developed based on a series of AWS-related architecture design patterns: