Skip to content

stuartin/mono-starter

Repository files navigation

Mono Repo Starter

A basic monorepo starter with some shared config

@mono/server

Database

Drizzle is used during local development against the local wrangler/miniflare db only. D1 databases hosted on Cloudflare all use wrangler to perform migrations.

Migration workflow

  • pnpm db:init - Creates a local wrangler db based on the current migrations
  • pnpm db:push - Update the local db directly during development
  • pnpm db:generate - Schema changes are finalized and we can start writing tests
  • pnpm test - Local tests use generated migrations files to bootstrap the database
  • pnpm deploy:stg - Deploy the migrations and code to staging environment
  • pnpm deploy:prd - Deploy the migrations and code to the production envrionment

@mono/client

  • todo

@mono/shared

  • eslint
  • tsconfig

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published