Skip to content

wylu1037/chatbot

Repository files navigation

English | 简体中文

🤖 Chatbot

Static Badge Static Badge Static Badge Static Badge Static Badge



Create T3 App

This is a T3 Stack project bootstrapped with create-t3-app.

What's next? How do I make an app with this?

We try to keep this project as simple as possible, so you can start with just the scaffolding we set up for you, and add additional things later when they become necessary.

If you are not familiar with the different technologies used in this project, please refer to the respective docs. If you still are in the wind, please join our Discord and ask for help.

Learn More

To learn more about the T3 Stack, take a look at the following resources:

You can check out the create-t3-app GitHub repository — your feedback and contributions are welcome!

How do I deploy this?

Follow our deployment guides for Vercel, Netlify and Docker for more information.


定义DB Schema

  1. 修改schema.zmodel
  2. 运行 npx zenstack generate 生成代码
  3. 运行 npx prisma db push 推送到DB
  4. 运行 npx prisma db pull 从DB拉取Schema

代码中怎么访问DB

使用生成的钩子

位置:src/lib/hooks/

  1. schema.zmodel中使用插件
plugin trpc {
    provider = '@zenstackhq/trpc'
    output = 'src/server/routers/generated'
}

Releases

No releases published

Packages

No packages published