Skip to content

Refactor Constructs#226

Merged
rorychatt merged 8 commits into
mainfrom
refactor-constructs
Oct 8, 2025
Merged

Refactor Constructs#226
rorychatt merged 8 commits into
mainfrom
refactor-constructs

Conversation

@ArtemLazarchuk

Copy link
Copy Markdown
Collaborator

AWS Constructs

Image

One-Click Development Environment

Open in GitHub Codespaces

Click the badge above to open Ivy Examples repository in GitHub Codespaces with:

  • .NET 9.0 SDK pre-installed
  • Ready-to-run development environment
  • No local setup required

Created Using Ivy

Web application created using Ivy-Framework.

Ivy - The ultimate framework for building internal tools with LLM code generation by unifying front-end and back-end into a single C# codebase. With Ivy, you can build robust internal tools and dashboards using C# and AI assistance based on your existing database.

Ivy is a web framework for building interactive web applications using C# and .NET.

Interactive Example For AWS Constructs

This example demonstrates building composable configuration models using the AWS Constructs library integrated with Ivy. Constructs are classes that define "pieces of system state" and can be composed together to form higher-level building blocks.

What This Application Does:

  • Build Construct Trees: Create hierarchical construct structures with parent-child relationships
  • Interactive Tree Navigation: Filter and view subtrees by specifying parent paths
  • Dynamic Node Addition: Add new child constructs at runtime with custom IDs
  • ASCII Tree Visualization: View the construct tree structure in a clean ASCII format
  • Tree Management: Reset to canonical structure or expand/collapse large trees

Technical Implementation:

  • Uses AWS Constructs .NET package with jsii bridge to Node.js runtime
  • Implements RootConstruct as the root node with no parent
  • Creates canonical tree structure with Demo, ChildA, ChildB, and Nested constructs
  • Provides interactive UI for tree manipulation and visualization
  • Single C# view (Apps/ConstructsApp.cs) built with Ivy UI primitives

How to Run

  1. Prerequisites: .NET 9.0 SDK
  2. Navigate to the example:
    cd constructs
  3. Restore dependencies:
    dotnet restore
  4. Run the application:
    dotnet watch
  5. Open your browser to the URL shown in the terminal (typically http://localhost:5010)

How to Deploy

Deploy this example to Ivy's hosting platform:

  1. Navigate to the example:
    cd constructs
  2. Deploy to Ivy hosting:
    ivy deploy

This will deploy your AWS Constructs interactive demo with a single command.

Learn More

@ArtemLazarchuk ArtemLazarchuk self-assigned this Oct 8, 2025
@rorychatt
rorychatt merged commit b26c12e into main Oct 8, 2025
61 checks passed
@rorychatt
rorychatt deleted the refactor-constructs branch October 8, 2025 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants