Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 1.56 KB

README.md

File metadata and controls

60 lines (40 loc) · 1.56 KB

玲宮Nipo bilibili直播弹幕查询前端项目

关注玲宮Nipo谢谢喵!!!

技术栈

next.js + antd + tailwind.css + prisma.js + mysql

本地开发

pnpm i 安装依赖
  1. 首先在项目根目录创建一个 .env 环境变量文件
  • .env文件
# 数据库连接地址
DATABASE_URL="mysql://username:password@localhost:3306/nipo_live_chat"
  1. 通过prisma创建数据库
npx prisma generate && npx prisma db push
  1. 启动项目
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

bilibili直播间弹幕监听服务

https://github.com/boiboif/bili-live-chat-server

数据库

https://planetscale.com/ 可以免费白嫖一个5g的云数据库,需要科学上网

部署前端项目到vercel

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.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!