Skip to content

Latest commit

 

History

History
81 lines (52 loc) · 3.94 KB

File metadata and controls

81 lines (52 loc) · 3.94 KB

This project was scaffolded with create-mugnavo.

npm create mugnavo

Tip

This template is also available as a monorepo, powered by Vite+ and npm. See mugnavo/tanstarter-plus.

Getting Started

  1. Use this template or create a project using our CLI:

    npm create mugnavo
  2. Create a .env file based on .env.example.

  3. Push the schema to your database with drizzle-kit:

    npm db push

    https://orm.drizzle.team/docs/migrations

  4. Run the development server:

    npm dev

    The development server should now be running at http://localhost:3000.

Deploying to production

Netlify Status

The vite config is currently configured to use Nitro to deploy on Netlify, but supports many other deployment presets like Vercel and Node.

While Nitro provides a great multi-provider default, the official @netlify/vite-plugin-tanstack-start is also available for Netlify deployments.

Refer to the TanStack Start hosting docs for deploying to other platforms.

Issue watchlist

Goodies

Git hooks

We use Husky to run git hooks with the following tools:

  • lint-staged - Run Oxfmt to format staged files on commit (pre-commit).

Scripts

We use npm package manager.

  • auth:generate - Regenerate the auth db schema if you've made changes to your Better Auth config.
  • db - Run drizzle-kit commands. (e.g. npm db generate, npm db studio)
  • ui - The shadcn/ui CLI. (e.g. npm ui add button)
  • format, lint - Run Oxfmt and Oxlint, or both via npm check.
  • deps - Selectively upgrade dependencies via taze.

Utilities