A hierarchical space exploration prototype for visualizing organizational resource hierarchies.
- Load hierarchical JSON data via file upload
- Browse spaces in a nested tree view
- View aggregated resources (environments, flows, policies, attestation types)
- Resource paths show the full location of each resource in the hierarchy
- Clone the repository
- Install dependencies:
npm install - Start the development server:
npm start - Open http://localhost:3000 in your browser
- Upload a JSON file with your hierarchy data using the "Load Hierarchy" option
- You can use the included sample data (bigbankinc-hierarchy.json)
- Browse the spaces in the left navigation panel
- Click on any space to set it as the current context
- Use the resource type menu items to view different resource types (environments, flows, etc.)
The application expects a JSON file with the following structure:
{
"org": "OrganizationName",
"spaces": [
{
"name": "RootSpace",
"environments": ["ENV1", "ENV2"],
"flows": ["FLOW1", "FLOW2"],
"env_policies": ["POLICY1", "POLICY2"],
"attestation_types": ["TYPE1", "TYPE2"],
"spaces": [
{
"name": "ChildSpace",
// ...and so on
}
]
}
]
}Each space can contain:
- A name
- Arrays of resources (environments, flows, env_policies, attestation_types)
- Nested child spaces
This project is a prototype for exploring hierarchical spaces. Contributions and suggestions are welcome!
This is a static single-page application, making it perfect for hosting on AWS S3 with CloudFront:
-
Build the application locally:
npm install npm run build
-
Create an S3 bucket in your AWS account with a unique name:
aws s3 mb s3://your-spaces-explorer-bucket
-
Configure the bucket for static website hosting:
aws s3 website s3://your-spaces-explorer-bucket --index-document index.html --error-document index.html
-
Set bucket policy to allow public access (if it's a public site):
{ "Version": "2012-10-17", "Statement": [ { "Sid": "PublicReadGetObject", "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::your-spaces-explorer-bucket/*" } ] } -
Upload the build folder to S3:
aws s3 sync build/ s3://your-spaces-explorer-bucket
-
(Optional) Set up CloudFront for faster global access and HTTPS.
Your application will be available at: http://your-spaces-explorer-bucket.s3-website-[region].amazonaws.com
You can build and run the Docker image locally:
# Build the Docker image
docker build -t spaces-explorer .
# Run the container
docker run -p 8080:8080 spaces-explorerThen access the application at http://localhost:8080
This project is licensed under the MIT License.