Skip to content

frontend-free/self-media-easy-nextjs

Repository files navigation

SUBJECT MEDIA

开发

准备db。创建 .env 文件并添加以下内容:

DATABASE_URL="file:./dev.db"
NEXT_PUBLIC_UPDATER_SERVER=""

初始化 prisma 数据库

npx prisma migrate dev --name init

准备 auth 密钥

npx auth secret

开发

pnpm i
pnpm dev

部署

准备 db。创建 .env 文件并添加以下内容:

DATABASE_URL="file:./prod.db"
NEXT_PUBLIC_UPDATER_SERVER=""

准备 auth 密钥

npx auth secret

技术栈

  • next.js
  • next-auth 认证
  • prisma sqlite 数据库
  • antd @ant-design/pro-components 组件
  • tailwindcss 样式

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published