Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.66 KB

files.md

File metadata and controls

29 lines (24 loc) · 1.66 KB

Files

Important files

  • package.json defines the supported development, check, build, and deploy commands.
  • vite.config.ts builds the server for Convex with convexSsr() and prerenders /about.
  • src/server.ts is the server entry: it answers the /auth sign-in, refresh, and sign-out routes and renders each page with the session of the request's cookies.
  • convex/convex.config.ts mounts the Convex Auth, OAuth, and convex-hosting components, and convex/http.ts routes every path to the site.
  • src/routes/_authed/ holds the pages that need a session; without one they redirect to the home page.
  • alchemy.run.ts and .github/workflows/alchemy.yml deploy production and previews.
  • convex/ contains the backend, schema, authentication, and generated Convex bindings.
  • src/ contains the React application and routes.

Generated and managed files

  • src/routeTree.gen.ts is generated by TanStack Router.
  • convex/_generated/api.*, dataModel.d.ts, and server.* are generated by Convex.
  • .convex-hosting/ is written by each deploy and ignores itself. Do not commit it.
  • convex/_generated/ai/, .agents/skills/, skills-lock.json, and the marked Convex sections in AGENTS.md and CLAUDE.md are managed by npx convex ai-files install.
  • The marked Vite+ section in AGENTS.md is generated by vp config. The package prepare command uses --no-agent, so installs do not rewrite it.

Do not hand-edit generated files when their source tool can update them. When a Convex AI-file update changes the installed source snapshot, confirm its distribution license and update THIRD_PARTY_NOTICES.md when its third-party material changes.