Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zntb/nextjs-auth
- Owner: zntb
- Created: 2024-07-05T09:17:13.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-05T02:33:06.000Z (11 days ago)
- Last Synced: 2024-11-05T03:27:08.423Z (11 days ago)
- Language: TypeScript
- Size: 1.57 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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:pushscripts:
```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"
},
```