Skip to content

Repository files navigation

Generated with vike.dev/new (version 433) using this command:

bun create vike@latest --react --tailwindcss --daisyui --authjs --telefunc --hono --drizzle --eslint

Contents

Drizzle

First, ensure that DATABASE_URL is configured in .env file, then create the database:

pnpm drizzle:generate # a script that executes drizzle-kit generate.
pnpm drizzle:migrate # a script that executes drizzle-kit migrate.

Note

The drizzle-kit generate command is used to generate SQL migration files based on your Drizzle schema.

The drizzle-kit migrate command is used to apply the generated migrations to your database.

Read more on Drizzle ORM documentation

React

This app is ready to start. It's powered by Vike and React.

/pages/+config.ts

Such + files are the interface between Vike and your code. It defines:

Routing

Vike's built-in router lets you choose between:

/pages/_error/+Page.jsx

The error page which is rendered when errors occur.

/pages/+onPageTransitionStart.ts and /pages/+onPageTransitionEnd.ts

The onPageTransitionStart() hook, together with onPageTransitionEnd(), enables you to implement page transition animations.

SSR

SSR is enabled by default. You can disable it for all your pages or only for some pages.

HTML Streaming

You can enable/disable HTML streaming for all your pages, or only for some pages while still using it for others.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages