{"id":27451556,"url":"https://github.com/icxcat/egg-RESTfulAPI","last_synced_at":"2025-04-15T10:01:48.720Z","repository":{"id":55062414,"uuid":"115211230","full_name":"heimi-block/egg-RESTfulAPI","owner":"heimi-block","description":"🏅 基于Egg.js 2.0 \u0026 {mongoose,jwt}RESTful API 模板，用于快速集成开发RESTful前后端分离的服务端。","archived":false,"fork":false,"pushed_at":"2019-01-18T03:31:14.000Z","size":4877,"stargazers_count":595,"open_issues_count":3,"forks_count":130,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-07-31T21:08:57.982Z","etag":null,"topics":["egg","egg-plugin","egg-restfulapi","fs","jwt","mongodb","mongoose","nodejs","upload"],"latest_commit_sha":null,"homepage":"","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/heimi-block.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}},"created_at":"2017-12-23T17:30:23.000Z","updated_at":"2024-07-27T07:35:57.000Z","dependencies_parsed_at":"2022-08-14T10:40:37.282Z","dependency_job_id":null,"html_url":"https://github.com/heimi-block/egg-RESTfulAPI","commit_stats":null,"previous_names":["icxcat/egg-restfulapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimi-block%2Fegg-RESTfulAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimi-block%2Fegg-RESTfulAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimi-block%2Fegg-RESTfulAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimi-block%2Fegg-RESTfulAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heimi-block","download_url":"https://codeload.github.com/heimi-block/egg-RESTfulAPI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249048743,"owners_count":21204306,"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":["egg","egg-plugin","egg-restfulapi","fs","jwt","mongodb","mongoose","nodejs","upload"],"created_at":"2025-04-15T10:01:20.055Z","updated_at":"2025-04-15T10:01:48.712Z","avatar_url":"https://github.com/heimi-block.png","language":"JavaScript","readme":"# egg-RESTfulAPI\n\n基于Egg.js的 RESTful API 模板，用于快速集成开发RESTful前后端分离的服务端。\n(建议用于学习入门EGGJS和Mongoose,如果作为生产请自行优化和改造)\n\n## 特性\n\n- :zap: **框架选择**：基于 Egg.js 2.0\n- :fire: **数据模型**：基于 Mongoose 存储\n- :lock: **授权验证**：基于JWT\n- :rocket: **内置功能**：文件处理，用户系统，统一错误处理及接口返回标准，全方位CRUD,分页,模糊查询的等数据操作Demo\n- :sparkles: **最佳实践**：接口设计适配 Ant Design Pro 或 微信小程序开发等。(内置分页及ant接口返回标准)\n\n## QuickStart\n\n\u003c!-- add docs here for user --\u003e\n\nsee [egg docs][egg] for more detail.\n\n### Development\n\n```bash\n$ cd app \u0026 mkdir public \u0026 cd public \u0026 mkdir uploads\n$ npm i\n$ npm run dev\n$ open http://localhost:7001/\n```\n\n### Deploy\n\n```bash\n$ npm start\n$ npm stop\n```\n\n### npm scripts\n\n- Use `npm run lint` to check code style.\n- Use `npm test` to run unit test.\n- Use `npm run autod` to auto detect dependencies upgrade, see [autod](https://www.npmjs.com/package/autod) for more detail.\n\n\n[egg]: https://eggjs.org\n","funding_links":[],"categories":["Applications"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficxcat%2Fegg-RESTfulAPI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficxcat%2Fegg-RESTfulAPI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficxcat%2Fegg-RESTfulAPI/lists"}