Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zntb/nextjs-auth

Auth using Next.js, Drizzle
https://github.com/zntb/nextjs-auth

Last synced: 7 days ago
JSON representation

Auth using Next.js, Drizzle

Awesome Lists containing this project

README

        

# Drizzle commands

`generate` - Generates `schema.ts` and `envConfig.ts` files.
`push` - Pushes the generated files to the database.

npm run db:generate
npm run db:push

scripts:

```json
"scripts": {
"build": "next build",
"dev": "next dev",
"lint": "next lint",
"prettier": "prettier --write --ignore-unknown .",
"db:generate": "drizzle-kit generate:pg",
"push": "drizzle-kit push:pg",
"seed": "npx tsx be/seed.ts",
"start": "next start"
},
```