Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Google Forms Lite (Monorepo)

Monorepo with:

  • client/: React + TypeScript + Redux Toolkit + RTK Query
  • server/: NestJS GraphQL server (in-memory store)
  • packages/schema/: GraphQL SDL (single source of truth) + generated TypeScript types

Prerequisites

  • Node.js 22+
  • pnpm (via Corepack)

Install

From the repo root:

corepack enable
pnpm install

Code generation (shared types)

The schema lives in packages/schema/schema.graphql.

Generate shared TS types (server + client RTK Query hooks):

pnpm codegen

pnpm install, pnpm dev, and pnpm build also run codegen automatically.

Run locally (dev)

Starts server on http://localhost:4000/graphql and client on Vite default port:

pnpm dev

Build

pnpm build

Notes

  • Data is stored in memory; restarting the server resets forms/responses.
  • The client uses RTK Query with codegen output in client/src/gql/generated.ts.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages