{"id":13671600,"url":"https://github.com/luosijie/card","last_synced_at":"2026-02-01T19:04:58.123Z","repository":{"id":136057448,"uuid":"88524574","full_name":"luosijie/card","owner":"luosijie","description":"Node + Express + MongoDB   ","archived":false,"fork":false,"pushed_at":"2017-07-05T07:43:57.000Z","size":20465,"stargazers_count":44,"open_issues_count":2,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-11T09:43:50.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luosijie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-04-17T15:56:11.000Z","updated_at":"2022-09-19T12:35:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"58265fb9-d1f0-4c10-85b6-3c03bb0c7285","html_url":"https://github.com/luosijie/card","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/luosijie%2Fcard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luosijie%2Fcard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luosijie%2Fcard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luosijie%2Fcard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luosijie","download_url":"https://codeload.github.com/luosijie/card/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251187195,"owners_count":21549600,"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":[],"created_at":"2024-08-02T09:01:14.249Z","updated_at":"2026-02-01T19:04:58.070Z","avatar_url":"https://github.com/luosijie.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"## 一个简单的图片处理网站\n\n![Language:JavaScript](https://img.shields.io/badge/Language-Javascript-yellow.svg?style=flat)\n![Language:Node](https://img.shields.io/badge/Language-Node-green.svg?style=flat)\n![Database:MongoDB](https://img.shields.io/badge/Database-MongoDB-green.svg?style=flat)\n![License:GPL](https://img.shields.io/badge/License-GPL-blue.svg?style=flat)\n\n\n![home](https://github.com/luosijie/Front-end-Blog/blob/master/img/a.PNG?raw=true)\n\n\n## 提交日志\n2017-6-18 9：25 修复网站只能注册一个用户的问题\n\n\n## 安装\n1. 安装MongoDB并成功启动\n2. git clone \"https://github.com/luosijie/card\"\n3. npm install\n4. npm start\n5. 访问 localhost:3000\n\n## 实现功能\n```\n通过管理员编辑上传名片模板\n可以让用户在线编辑并下载png格式图片直接打印\n```\n1. 登录注册\n2. 图片简单处理\n3. 名片模板的上传和保存\n4. 名片图片的打包和下载\n4. 名片模板收藏\n5. MongoDB数据增删改查\n\n## 使用到的插件\n1. html2Canvas 用于将html解析为图片\n2. jsZip 用于图片打包\n3. fileSaver 用于导出打包后的zip文件\n\n## 网站的不足\n1. 代码组织比较乱 ———— 哪天心情好再来整理\n2. 没有兼容浏览器，目前只谷歌 火狐可以正常访问 ———— 人生苦短，我不兼容\n3. 没有管理后台 ———— 这是一个比较大的问题\n\n## 项目结构\n\n![structure](https://github.com/luosijie/Front-end-Blog/blob/master/img/structure.PNG?raw=true)\n\n## 项目部分截图\n#### 首页\n模板列表用hbs模板渲染\n\n![structure](https://github.com/luosijie/Front-end-Blog/blob/master/img/home.PNG?raw=true)\n\n#### 用户编辑页\n看起来简单的页面结果花的时间最多\n\n![structure](https://github.com/luosijie/Front-end-Blog/blob/master/img/edit.PNG)\n\n#### 管理员上传模板\n注意：这个页面的权限只有 **用户名为admin** 才可以访问，没办法就是这么不科学\n\n![structure](https://github.com/luosijie/Front-end-Blog/blob/master/img/upload.PNG?raw=true)\n\n#### 个人中心\n我的收藏列表和基本账户设置\n\n![personal](https://github.com/luosijie/Front-end-Blog/blob/master/img/personal.PNG?raw=true)\n\n\n\u003e 欢迎star\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluosijie%2Fcard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluosijie%2Fcard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluosijie%2Fcard/lists"}