Application Modules
Application modules allow you to deliver interactive visualizers, custom dashboards, or any client-side web application directly through the rescile-ce or rescile-portal web interface.
Using POST and PATCH to mutate the graph and provide write application needs enterprise features. It is suggested to utilize the feature flags to destinguish which features are availabe.
When a module includes an app directory, rescile automatically serves its contents. This allows developers to use modern front-end tooling (like Vite, React, Vue, etc.) to build rich interfaces that query the modeled hybrid environment via the /graphql endpoint.
Explore the Documentation
Simple Static Files
Serve plain HTML, CSS, and JS from the app/ directory without a build step, using CDN imports and ES modules.
Explore
Alternate Formats
Serve SVG, XML, or JSON entry points from app modules and trigger dynamic downloads using embedded scripts.
Explore
Complex Applications (Vite)
Build and package a Vite-based Node.js application as a rescile module with relative paths and a module.toml.
Explore
Fetching Graph Data
Fetch graph data from client-side applications by posting GraphQL queries to the local /graphql endpoint.
Explore
Streaming Graph Rebuilds
Stream graph rebuild progress logs to your UI in real time using Server-Sent Events via /api/build/stream.
Explore
Feature Flags
Query /api/features to detect available rescile editions and adapt your application UI accordingly.
Explore
API Proxying
Define proxy.toml rules to securely forward browser requests to external APIs, with dynamic graph-driven routes.
Explore
Security & Secrets
Keep secrets out of Git and the browser using env var expansion and Tera templating in proxy configurations.
Explore
CORS Configuration
Configure allowed origins so external front-ends can query the rescile-ce API without browser CORS errors.
Explore
Resource Aliasing for Apps
Handle resource aliasing in app modules using output artifacts, introspection, or config maps as workarounds.
Explore