{"id":13941590,"url":"https://github.com/mengsixing/cdfang-spider","last_synced_at":"2025-05-16T08:03:24.599Z","repository":{"id":38425165,"uuid":"125732193","full_name":"mengsixing/cdfang-spider","owner":"mengsixing","description":"📊 成都房协网数据分析，喜欢请点 star！","archived":false,"fork":false,"pushed_at":"2023-03-25T09:52:56.000Z","size":7827,"stargazers_count":1221,"open_issues_count":44,"forks_count":219,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-04-08T18:19:34.927Z","etag":null,"topics":["antd","cdfang-spider","koa","mongoose","nodejs","react","webpack"],"latest_commit_sha":null,"homepage":"https://cdfangyuan.cn","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mengsixing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-03-18T14:17:23.000Z","updated_at":"2025-03-26T02:46:13.000Z","dependencies_parsed_at":"2023-02-13T18:26:03.037Z","dependency_job_id":"854c7ecc-c0bf-49e1-8a48-a82dc84038a5","html_url":"https://github.com/mengsixing/cdfang-spider","commit_stats":null,"previous_names":["yhlben/cdfang-spider"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengsixing%2Fcdfang-spider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengsixing%2Fcdfang-spider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengsixing%2Fcdfang-spider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengsixing%2Fcdfang-spider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mengsixing","download_url":"https://codeload.github.com/mengsixing/cdfang-spider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254493381,"owners_count":22080126,"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":["antd","cdfang-spider","koa","mongoose","nodejs","react","webpack"],"created_at":"2024-08-08T02:01:22.016Z","updated_at":"2025-05-16T08:03:24.578Z","avatar_url":"https://github.com/mengsixing.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# cdfang-spider\n\n[![Build Status](https://github.com/mengsixing/cdfang-spider/workflows/ci/badge.svg)](https://github.com/mengsixing/cdfang-spider/actions)\n[![codecov](https://codecov.io/gh/mengsixing/cdfang-spider/branch/master/graph/badge.svg)](https://codecov.io/gh/mengsixing/cdfang-spider)\n[![David](https://img.shields.io/david/mengsixing/cdfang-spider.svg)](https://david-dm.org/mengsixing/cdfang-spider)\n\n\u003e 成都房协网数据分析\n\n统计成都自摇号以来所有的房源信息，通过图表的形式展示出来。\n\n## Preview\n\n在线预览：[https://cdfangyuan.cn](https://cdfangyuan.cn)\n\n源代码：[https://github.com/mengsixing/cdfang-spider](https://github.com/mengsixing/cdfang-spider)\n\n## Features\n\n已实现的功能：\n\n- [x] 房源数据同步最新。\n- [x] 房源价格动态保持更新。\n- [x] 首页：登记中房源、汇总统计展示。\n- [x] 首页：按楼盘数、房源数统计，及统计结果排名。\n- [x] 首页：按区域统计，汇总表查询。\n- [x] 历史页：年度汇总统计展示。\n- [x] 历史页：按房源数、区域、月份统计，及统计结果排名。\n- [x] 历史页：按房源数、楼盘数、区域统计，汇总表查询。\n\n## Technology\n\n主要用到的技术：\n\n- React：MVVM 框架，用于构建前端界面。\n- Ant Design：基于 React 的组件库。\n- Bizchats：基于 React 的图表库。\n- Less：CSS 预处理器，提供变量、计算、嵌套、Mixin、函数等。\n- Webpack：打包前端项目，生成静态文件。\n- Apollo：基于 GraphQL 封装，用于搭建后端 GraphQL 支持和前端数据请求。\n- Koa：后端 Web 层框架，用于接收请求，进行处理。\n- Cheerio：解析抓取的 HTML 数据。\n- Mongoose：为 MongoDB 定义数据模型。\n- Gulp：打包后端项目，编译 TS 语法。\n- Jest：测试前后端项目，单元测试，API 测试等。\n- Typescript：为 JS 提供良好的类型检查功能，能编译出高质量的 JS 代码。\n\n项目没有使用脚手架工具搭建，都是一步一步配置而成。具体的搭建流程：[项目选型与环境搭建](https://github.com/mengsixing/cdfang-spider/blob/master/Introduction.md)。\n\n## Start\n\n```shell\n# clone with Git Bash\ngit clone https://github.com/mengsixing/cdfang-spider.git\n\n# change directory\ncd cdfang-spider\n\n# install dependencies\nnpm i\n\n# serve with hot reload at localhost:8080\nnpm run dev\n\n# build for production with minification\nnpm run build\n```\n\n## Deploy\n\n```shell\n# clone with Git Bash\ngit clone https://github.com/mengsixing/cdfang-spider.git\n\n# change directory\ncd cdfang-spider/docker\n\n# run docker containers. It may take a long time.\ndocker-compose up -d\n\n# server running at localhost:8082\n```\n\n## License\n\n[MIT](https://github.com/mengsixing/cdfang-spider/blob/master/LICENSE)\n\nCopyright (c) 2020 mengsixing\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmengsixing%2Fcdfang-spider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmengsixing%2Fcdfang-spider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmengsixing%2Fcdfang-spider/lists"}