Skip to content

itaysarfaty/next_drizzle_turso

Repository files navigation

Template Features

  • React.js
  • Next.js
  • Drizzle
  • Turso
  • Prettier
  • pnpm

DB setup

Open the drizzle guide below to learn how to set up your Turso database. Most of the work is complete. You'll have to configure the environment variables.

Link to guide

Booting up

First, install the dependencies:

pnpm i

Then, you can start the development server:

pnpm dev

Open http://localhost:3000 with your browser to see the result.

Scripts

  • dev: Starts the development server
  • build: Builds the application for production
  • start: Starts a simple server for the production build
  • lint: Runs the linter
  • format: Formats the code using prettier
  • dev-db: Starts the development database
  • generate-db: Generates a database migration
  • push-db: Pushes the database schema changes
  • studio-db: Opens the Drizzle studio

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License MIT

About

A template for Next.js, Drizzle ORM, Turso DB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published