Skip to content

About

Product management app

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProductMaster - 产品研创智能体平台

Automatically synced with your v0.app deployments

Deployed on Vercel Built with v0

Overview

ProductMaster 是一个基于 AI 的产品研创智能体平台,帮助用户从创意到实现完成产品开发。该平台提供智能化的产品创作工具、指南和社区支持。

This repository will stay in sync with your deployed chats on v0.app. Any changes you make to your deployed app will be automatically pushed to this repository from v0.app.

Deployment

Your project is live at:

https://vercel.com/andys-projects-9b85be1a/v0-algo-trading-platform

Build your app

Continue building your app on:

https://v0.app/chat/projects/0l7GoCxk0vE

Documentation

📚 完整开发文档: docs/README.md

开发规范

技术栈

  • 框架: Next.js 14 (App Router)
  • UI库: Tailwind CSS + Radix UI + Framer Motion
  • 语言: TypeScript
  • AI集成: DeepSeek (deepseek-chat) via OpenAI-compatible API
  • 数据库: Supabase

开发命令

npm run dev      # 启动开发服务器
npm run build    # 构建生产版本
npm run start    # 启动生产服务器
npm run lint     # 代码检查

DeepSeek API 环境变量

  • DEEPSEEK_API_KEY(必填):DeepSeek API 密钥
  • DEEPSEEK_BASE_URL(可选):默认 https://api.deepseek.com;也可设置为 https://api.deepseek.com/v1
  • DEEPSEEK_MODEL(可选):默认 deepseek-chat
  • DEEPSEEK_MAX_TOKENS(可选):默认 8192
  • DEEPSEEK_TEMPERATURE(可选):默认 0.7

使用 node scripts/test-deepseek.mjs 可进行快速连通性检测,确认密钥与模型配置正确。

How It Works

  1. Create and modify your project using v0.app
  2. Deploy your chats from the v0 interface
  3. Changes are automatically pushed to this repository
  4. Vercel deploys the latest version from this repository

用户认证配置

若要启用自助注册登陆,请在 Supabase 中执行以下步骤:

  1. 运行 database-schema-v2.sql 第 6-8 节,创建 auth_users 表、为 sessions 增加 owner_id/title_generated 字段,并生成 chat_messages 表。
  2. 在项目环境变量里新增 AUTH_SESSION_SECRET(建议 32+ 位随机字符串),用于签名服务端会话。
  3. 前端默认保留 builder / craft-mode 演示账号,方便在未完成配置前继续访问。

多会话聊天

  • GET /api/session/list:拉取当前账号的会话列表。
  • POST /api/session/new:创建新聊天,自动设为当前会话。
  • GET /api/chat/history?sessionId=:加载历史对话,支撑上下文延续。
  • DELETE /api/session/{sessionId}:删除指定聊天(需当前用户为会话所有者)。

About

Product management app

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages