玲宮Nipo bilibili直播弹幕查询前端项目
关注玲宮Nipo谢谢喵!!!
next.js + antd + tailwind.css + prisma.js + mysql
pnpm i 安装依赖
- 首先在项目根目录创建一个 .env 环境变量文件
- .env文件
# 数据库连接地址
DATABASE_URL="mysql://username:password@localhost:3306/nipo_live_chat"
- 通过prisma创建数据库
npx prisma generate && npx prisma db push
- 启动项目
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
https://github.com/boiboif/bili-live-chat-server
https://planetscale.com/ 可以免费白嫖一个5g的云数据库,需要科学上网
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!