{"id":19006607,"url":"https://github.com/deepred5/myh5","last_synced_at":"2025-10-26T17:03:24.033Z","repository":{"id":89927268,"uuid":"91964092","full_name":"deepred5/myh5","owner":"deepred5","description":"HTML5 Visual Editing System","archived":false,"fork":false,"pushed_at":"2017-06-09T14:31:33.000Z","size":1800,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T11:59:11.897Z","etag":null,"topics":["express","html5","mongodb","visual-effects","vue"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepred5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-21T14:39:28.000Z","updated_at":"2020-02-14T06:58:18.000Z","dependencies_parsed_at":"2023-05-30T13:30:14.247Z","dependency_job_id":null,"html_url":"https://github.com/deepred5/myh5","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepred5%2Fmyh5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepred5%2Fmyh5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepred5%2Fmyh5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepred5%2Fmyh5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepred5","download_url":"https://codeload.github.com/deepred5/myh5/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250306952,"owners_count":21409000,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["express","html5","mongodb","visual-effects","vue"],"created_at":"2024-11-08T18:33:16.042Z","updated_at":"2025-10-26T17:03:18.994Z","avatar_url":"https://github.com/deepred5.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTML5 可视化编辑系统\n类似易企秀的简易版H5可视化制作工具\n\n视频演示地址(http://www.bilibili.com/video/av10569720/)\n\n## 预览图\n\n![首页](http://7xqwwf.com1.z0.glb.clouddn.com/h51.jpg)\n\n![作品管理](http://7xqwwf.com1.z0.glb.clouddn.com/h52.jpg) \n![作品编辑](http://7xqwwf.com1.z0.glb.clouddn.com/h53.jpg)\n\n预览作品：\n\n![预览作品](http://7xqwwf.com1.z0.glb.clouddn.com/GIF.gif)\n\n\n\n\n\n## 技术栈\n\nVue + Node.js + MongoDB\n\n**前端**：\n\n* Vue\n* Vuex\n* vue-router\n* Swiper\n\n**后台**:\n\n* Express\n* Mongoose\n\n## 项目结构\n\n前端代码:  `frontend/`文件夹\n\n后台代码: `server/` 文件夹\n\n启动文件: `app.js`\n\n## 安装依赖\n\n```bash\n# 进入根目录\ncd myh5\n\n# 安装后台依赖\nnpm install\n\n# 进入前端项目\ncd frontend\n\n# 安装前端依赖\nnpm install\n```\n\n## 数据库\n\n数据库配置文件: `server/db/config.js`\n\n```javascript\nmodule.exports = {\n    host: 'localhost',\n    port: 27017,\n    database: 'myh5'\n};\n```\n\n`database`为数据库名，请确保`myh5`数据库创建成功后再启动后台!\n\n## 启动\n\n```bash\ncd myh5\n\n# 启动后台\nnpm run dev\n\ncd frontend\n\n# 启动前端\nnpm run dev\n```\n\n浏览器访问[http://localhost:8081](http://localhost:8081)\n\n## 跨域代理\n\n项目采用前后端分离，前端开发时开启一个临时服务器，监听8081端口，后台开发时，监听9099端口。\n\n为使前端可以访问后台提供的api接口，利用vue-cli提供的`proxyTable`进行跨域代理，详见文件`frontend/config/index.js`\n\n```javascript\nproxyTable: {\n      '/apis': {\n        target: 'http://localhost:9099/apis',\n        changeOrigin: true,\n        pathRewrite: {\n          '^/apis': ''\n        }\n      }\n}\n```\n\n## 前端打包\n\n```bash\ncd frontend\nnpm run build\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepred5%2Fmyh5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepred5%2Fmyh5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepred5%2Fmyh5/lists"}