# next_echart **Repository Path**: xuyife/next_echart ## Basic Information - **Project Name**: next_echart - **Description**: 使用next和Echart开发的 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-14 - **Last Updated**: 2025-07-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 生成配置文件 npx shadcn-ui init # 添加组件 npx shadcn-ui add button ## 修改运行端口号 PORT=3990 node server.js pm2 start "node server.js --port 3990" ## 初始化数据库 ```bash npx prisma init --datasource-provider sqlite # 创建prismas数据配置文件 npx prisma db push # 创建数据库表 npx prisma generate # 生成配置文件模型 npx prisma studio # 查看数据库信息 npx prisma migrate reset # 重置数据库 ``` PORT=3990 HOSTNAME=0.0.0.0 node server.js