1# Prisma Website: Foldkit
2
3Deploys a real Foldkit application with `Prisma.Website.Foldkit`.
4
5A Foldkit model/update/view application with increment, decrement, and reset controls. The Vite plugin builds the real browser app.
6
7## Infrastructure
8
9`alchemy.run.ts` uses `Prisma.providers()` and `Alchemy.localState()`.
10The helper uses the project root by default and creates a Prisma project with
11`createDatabase: false` for live deployments. No Docker daemon, registry,
12other cloud provider, or Postgres database is required.
13
14The workspace supplies `alchemy` and `@alchemy.run/frontend-frameworks` through
15`workspace:*` dependencies. `@vercel/nft` is installed for Prisma artifact tracing.
16Install dependencies from the repository root before
17running commands in this directory. Authenticate Prisma using the Alchemy profile
18you intend to deploy with.
19
20## Deploy
21
22```sh
23bun run deploy --profile testing
24```
25
26The stack returns `url`. Framework configuration, application sources, and public
27assets are included in this example; the Website helper owns the deployment adapter.
28
29## Develop
30
31```sh
32bun run dev
33```
34
35This runs the local framework dev server without provisioning a Prisma project.
36
37## Verify
38
39```sh
40ALCHEMY_PROFILE=testing bun test test/integ.test.ts
41```
42
43The integration suite destroys previous stack state, deploys the actual app,
44requests its page, verifies the static JSON asset, and destroys the stack.
45Set `NO_DESTROY=1` only when intentionally keeping the deployment for inspection.
46
47For browser validation, open the returned URL. Click **+**, **-**, and **Reset**; the number changes and resets to zero.
48Every app also serves `/example.json` with a framework label and greeting.
49
50## Destroy
51
52```sh
53bun run destroy --profile testing
54```