forgedb 0.3.1

ForgeDB — an application database generator. Compiles a declarative .forge schema into tailored Rust database code, a TypeScript SDK, and a REST API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
import { RewriteOverlay } from "@/components/dev/rewrite-overlay";

/**
 * Mount point for local-dev-only tooling. Returns null unless NODE_ENV is
 * "development", so it renders nothing in the production static export (and the
 * route it talks to is gitignored, so it could do nothing there anyway).
 */
export function DevMount() {
  if (process.env.NODE_ENV !== "development") return null;
  return <RewriteOverlay />;
}