{"id":17148738,"url":"https://github.com/oxoyo/x-admin-api-generator-koa","last_synced_at":"2025-04-13T11:42:23.949Z","repository":{"id":40791434,"uuid":"113958330","full_name":"OXOYO/X-Admin-API-Generator-Koa","owner":"OXOYO","description":"基于Vue的后台管理平台脚手架配套API服务","archived":false,"fork":false,"pushed_at":"2022-12-22T05:49:29.000Z","size":1551,"stargazers_count":3,"open_issues_count":17,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T02:51:15.367Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://oxoyo.co/X-Admin-Generator-Vue/","language":"JavaScript","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/OXOYO.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}},"created_at":"2017-12-12T07:32:48.000Z","updated_at":"2024-04-03T06:12:49.000Z","dependencies_parsed_at":"2023-01-30T05:46:28.402Z","dependency_job_id":null,"html_url":"https://github.com/OXOYO/X-Admin-API-Generator-Koa","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXOYO%2FX-Admin-API-Generator-Koa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXOYO%2FX-Admin-API-Generator-Koa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXOYO%2FX-Admin-API-Generator-Koa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXOYO%2FX-Admin-API-Generator-Koa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OXOYO","download_url":"https://codeload.github.com/OXOYO/X-Admin-API-Generator-Koa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248709636,"owners_count":21149180,"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-10-14T21:29:40.250Z","updated_at":"2025-04-13T11:42:23.911Z","avatar_url":"https://github.com/OXOYO.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# X-Admin-API-Generator-Koa\n\n基于Vue的后台管理平台脚手架配套API服务。\n\n[![node](https://img.shields.io/badge/node-v7.6.0+-blue.svg)](https://nodejs.org/)\n[![GitHub package version](https://img.shields.io/github/package-json/v/OXOYO/X-Admin-API-Generator-Koa.svg)]()\n[![dependencies Status](https://david-dm.org/OXOYO/X-Admin-API-Generator-Koa/status.svg)](https://david-dm.org/OXOYO/X-Admin-API-Generator-Koa)\n[![codebeat badge](https://codebeat.co/badges/824b49d9-dd7f-4502-9965-76aef840f8d2)](https://codebeat.co/projects/github-com-oxoyo-x-admin-api-generator-koa-master)\n[![license](https://img.shields.io/github/license/OXOYO/X-Admin-API-Generator-Koa.svg)]()\n\n## 预览\n\n[online](http://oxoyo.co/X-Admin-Generator-Vue/)\n\n超级管理员：root 123123\n\n管理员：admin 123123\n\n## 开始\n```bash\n  git clone\n  npm i\n  导入 `sql/x-admin-api-generator-koa.sql` 文件到数据库\n  npm run dev\n```\nNode.js 版本需 \u003e= 7.6.0.\n\n## 开发\n  1.编辑 config\n\n  2.使用 [sequelize-auto](https://github.com/sequelize/sequelize-auto) 将数据库导出为 schema 模型\n\n  ```bash\n    sequelize-auto -o \"./src/schema\" -d x-admin-api-generator-koa -h localhost -u root -p 3306 -e mysql\n  ```\n\n  3.创建新模块目录、文件\n  ```bash\n    apps\n      \\_ newModules\n          Ctrl.js\n          Model.js\n          Routers.js\n  ```\n\n## 打包\n```bash\n  npm run build\n```\n\n## 生产环境\n```bash\n  pm2 start ecosystem.config.js\n```\n\n## TODO\n\n## License\n[MIT](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxoyo%2Fx-admin-api-generator-koa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foxoyo%2Fx-admin-api-generator-koa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxoyo%2Fx-admin-api-generator-koa/lists"}