Skip to content

tmm/ztest

Repository files navigation

ztest

Install the following tools:

  • direnv - loads environment variables
  • OrbStack - runs dev containers, local HTTPS/domains, etc.

Run the following commands:

# Clone and copy empty variables
gh repo clone tmm/ztest
cp .env.example .env
cp .dev.vars.example .dev.vars

pnpm install           # Install local dependencies
docker compose up -d   # Start containers
pnpm db:migrate latest # Setup database and run migrations
pnpm db:codegen        # Generate Kysely/Zero types from database
pnpm gen:types         # Generate Cloudflare types
pnpm test              # Test Zero queries/mutators

License

MIT

About

test zero

Resources

License

Stars

Watchers

Forks