{"id":16660439,"url":"https://github.com/killme2008/ping-leancloud","last_synced_at":"2025-09-11T02:39:26.130Z","repository":{"id":136505586,"uuid":"68696267","full_name":"killme2008/ping-leancloud","owner":"killme2008","description":"Ping LeanCloud","archived":false,"fork":false,"pushed_at":"2017-06-29T10:19:35.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T20:48:54.580Z","etag":null,"topics":[],"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/killme2008.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":"2016-09-20T09:27:20.000Z","updated_at":"2016-09-20T09:27:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3cd630c-e4f8-47bc-b1fd-91f1487bfc97","html_url":"https://github.com/killme2008/ping-leancloud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/killme2008/ping-leancloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killme2008%2Fping-leancloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killme2008%2Fping-leancloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killme2008%2Fping-leancloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killme2008%2Fping-leancloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/killme2008","download_url":"https://codeload.github.com/killme2008/ping-leancloud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killme2008%2Fping-leancloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274568594,"owners_count":25309282,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-12T10:29:16.831Z","updated_at":"2025-09-11T02:39:26.122Z","avatar_url":"https://github.com/killme2008.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js Getting started\n\n一个简单的使用 Express 4 的 Node.js 应用。\n可以运行在 LeanEngine Node.js 运行时环境。\n\n## 一键部署\n[![Deploy to LeanEngine](http://ac-32vx10b9.clouddn.com/109bd02ee9f5875a.png)](https://leancloud.cn/1.1/functions/_ops/deploy-button)\n\n## 本地运行\n\n首先确认本机已经安装 [Node.js](http://nodejs.org/) 运行环境和 [LeanCloud 命令行工具](https://www.leancloud.cn/docs/leanengine_cli.html)，然后执行下列指令：\n\n```\n$ git clone git@github.com:leancloud/node-js-getting-started.git\n$ cd node-js-getting-started\n```\n\n安装依赖：\n\n```\nnpm install\n```\n\n关联应用：\n\n```\nlean app add origin \u003cappId\u003e\n```\n\n这里的 appId 填上你在 LeanCloud 上创建的某一应用的 appId 即可。origin 则有点像 Git 里的 remote 名称。\n\n启动项目：\n\n```\nlean up\n```\n\n应用即可启动运行：[localhost:3000](http://localhost:3000)\n\n## 部署到 LeanEngine\n\n部署到预备环境（若无预备环境则直接部署到生产环境）：\n```\nlean deploy\n```\n\n将预备环境的代码发布到生产环境：\n```\nlean publish\n```\n\n## 相关文档\n\n* [LeanEngine 指南](https://leancloud.cn/docs/leanengine_guide-node.html)\n* [JavaScript 指南](https://leancloud.cn/docs/js_guide.html)\n* [JavaScript SDK API](https://leancloud.cn/api-docs/javascript/index.html)\n* [命令行工具详解](https://leancloud.cn/docs/cloud_code_commandline.html)\n* [LeanEngine FAQ](https://leancloud.cn/docs/cloud_code_faq.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillme2008%2Fping-leancloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkillme2008%2Fping-leancloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillme2008%2Fping-leancloud/lists"}