{"id":22001861,"url":"https://github.com/poetries/react-webapp","last_synced_at":"2026-04-13T10:31:24.730Z","repository":{"id":113503782,"uuid":"111820707","full_name":"poetries/react-webapp","owner":"poetries","description":"react-webapp","archived":false,"fork":false,"pushed_at":"2017-11-26T07:46:27.000Z","size":1591,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T05:41:33.745Z","etag":null,"topics":["ant-design","koa2","mock","react","react-redux","react-router4","redux"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/poetries.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-11-23T14:46:04.000Z","updated_at":"2017-11-26T04:47:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3e3c61a-ae2d-418e-90e9-ebb4d9945c38","html_url":"https://github.com/poetries/react-webapp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/poetries/react-webapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poetries%2Freact-webapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poetries%2Freact-webapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poetries%2Freact-webapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poetries%2Freact-webapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poetries","download_url":"https://codeload.github.com/poetries/react-webapp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poetries%2Freact-webapp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31748920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ant-design","koa2","mock","react","react-redux","react-router4","redux"],"created_at":"2024-11-29T23:15:18.515Z","updated_at":"2026-04-13T10:31:24.722Z","avatar_url":"https://github.com/poetries.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"react-webapp\n---\n\u003e 使用`react`全家桶构建大众点评`webapp`,`koa`搭建`Mock`服务\n\nusage\n---\n\n\n```javascript\n# 安装依赖\nnpm install\n\n# 运行程序\nnpm start\n\n# 启动服务\nnpm run mock\n```\n\n项目结构\n---\n\n\u003cpre\u003e\n├── assets              // 开发中的静态资源\n├── cfg                // 项目不同环境的配置\n├── dist               // 项目build目录\n├── docs               // 项目开发文档\n├── mock               // 项目开发中的mock数据\n├── package.json       // 项目配置文件\n├── server.js          // 项目启动脚本\n├── src                // 生产目录\n│   ├── actions        // redux action相关操作\n├   ├── api            // 获取数据的接口\n│       ├── detail\n│           ├── detail.js  // 获取详情信息接口\n│       ├── home            \n│           ├── home.js    // 获取首页广告、列表数据接口 \n│       ├── search\n│           ├── search.js\n│       ├── get.js     // get请求数据\n│       ├── post.js    // post请求数据\n│   ├── components     // 展示组件\n│   ├── config         // 配置文件 \n│   └── constants      // actionType常量\n│   └── container      // 容器组件\n│   └── reducers       // 处理action的逻辑\n│   └── routers        // 配置路由\n│   └── store          // redux store仓库\n│   └── styles         // 全局样式文件\n│   └── utils          // 工具函数\n│   └── App.js         // 主页面\n│   └── index.html     // 项目入口页面\n│   └── index.js       // Webpack 预编译入口\n|__\n\u003c/pre\u003e\n\nTodo\n---\n\n- 收藏和购买功能\n- 评价功能\n- 用户中心模块\n\nsnapShot\n---\n\n![](docs/snapshot/page1.png)\n![](docs/snapshot/page2.png)\n![](docs/snapshot/page3.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoetries%2Freact-webapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoetries%2Freact-webapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoetries%2Freact-webapp/lists"}