Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 913 Bytes

README.md

File metadata and controls

59 lines (36 loc) · 913 Bytes

Nuxt 3 + Lucia Auth + Drizzle ORM + Turso

A barebone full-stack Nuxt 3 starter template with Authentication, and SQLite DB for your next SaaS app.

Uses

Nuxt 3

Lucia Auth v2

Drizzle ORM

Turso

Setup

Make sure to install the dependencies:

pnpm install

Copy the .env.example file

cp .env.example .env

Setup turso and fill in the turso db credentials

Update the scheme

Update the schema to fit your needs in database/schema.ts folder

Push migration

pnpm run db:push

Run migration

pnpm run db:migrate

Open the database GUI

pnpm run db:studio

which will run drizzle kit studio

Development Server

pnpm run dev