# Clone-processon **Repository Path**: qhdzz/Clone-processon ## Basic Information - **Project Name**: Clone-processon - **Description**: 模仿在线流程图 https://processon.com/ - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 2 - **Created**: 2021-11-18 - **Last Updated**: 2023-10-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Clone processon NodeJS 版在线流程图,模仿 https://www.processon.com/ > 本项目仅供学习使用 ## 技术栈 - 后端: [express.js](https://expressjs.com/) - 数据库: [postgres](http://www.postgres.cn/docs/12/) - ORM: [prisma](https://prisma.io/) - Authentication: [github OAuth](https://docs.github.com/en/developers/apps/building-oauth-apps/authorizing-oauth-apps) - 前端: [Jquery](https://jquery.com/) ## 部署 - 没有装 postgresql 可以使用 `docker-compose.yml` 启一个容器服务 ``` docker-compose up -d ``` - 复制 .env.example 命名为 .env ``` # 数据库链接地址 DATABASE_URL="postgresql://admin:example@localhost:5432/pro?schema=public" # JWT 秘钥 JWT_SECRET="JWT_SECRET" # 邮箱验证 # 返回域名 DOMAIN="http://localhost:3000" # 邮箱 EMAIL_USER="maqi1520@163.com" # 邮件发送人 EMAIL_USER_NAME="狂奔的小马" # 邮件smtp EMAIL_HOST="smtp.163.com" # smtp 密码 并非邮箱密码,在邮箱设置中申请 EMAIL_PASS="xxxxxx" # github oauth 参数 GITHUB_CLIENT_ID="xxxxxxxxxx" GITHUB_CLIENT_SECRET="xxxxxxxxx" ``` - 安装依赖 ``` yarn install ``` - 打包 ``` yarn build ``` - 启动 ``` yarn start ``` ## TODO - [ ] websocket 多人同步编辑 - [ ] 文件上传 - [ ] 生成缩略图 - [ ] 分享页面 ## 联系 备注来源 ![IMG_4087.JPG](https://p6-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/df2e75377aa5496aa0d82c8ae3d50f47~tplv-k3u1fbpfcp-watermark.image?)