{"id":26188214,"url":"https://github.com/waitaction/vote-api","last_synced_at":"2026-04-28T03:37:12.331Z","repository":{"id":120178125,"uuid":"349903246","full_name":"waitaction/vote-api","owner":"waitaction","description":"简易投票服务","archived":false,"fork":false,"pushed_at":"2021-03-25T03:58:13.000Z","size":640,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-28T20:53:58.683Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/waitaction.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-03-21T04:53:49.000Z","updated_at":"2023-06-14T06:17:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"9cead0b6-53d5-48a7-8b56-34ba5b34edeb","html_url":"https://github.com/waitaction/vote-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/waitaction/vote-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitaction%2Fvote-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitaction%2Fvote-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitaction%2Fvote-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitaction%2Fvote-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waitaction","download_url":"https://codeload.github.com/waitaction/vote-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitaction%2Fvote-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32365514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"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":"2025-03-11T23:57:34.965Z","updated_at":"2026-04-28T03:37:12.324Z","avatar_url":"https://github.com/waitaction.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 简介\n\n简易投票服务接口，使用`nestjs`、`typeorm`、`mongodb`编写\n\n## 安装\n\n```bash\n$ npm install\n```\n\n如果因网络原因，也可以运行\n\n```bash\n$ yarn install\n```\n\n## 运行\n\n```bash\n$ npm run start\n```\n\n运行成功之后，可访问`http://localhost:3000/api`查看接口文档\n\n登录授权使用`jwt`\n\n默认帐号:admin\n\n默认密码:admin\n\n## 调试\n\n```bash\n$ npm run start:debug\n```\n## 测试\n\n```bash\n\n# e2e tests\n$ npm run test:e2e\n```\n\n## 其它说明\n\n1.投票结果监控和邮件通知相关方法写在了`src/app.module.ts`\n\n2.全局异常处理`src/main.ts`和`src/core/http-exception.filter.ts`\n\n3.邮件服务器`src/lib/mail-server.ts`\n\n4.mongodb配置`src/app.module.ts`\n\n5.e2e测试`test/app.e2e-spec.ts`\n\n6.数据库实体类`src/entity`\n\n7.接口文档`http://localhost:3000/api`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaitaction%2Fvote-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaitaction%2Fvote-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaitaction%2Fvote-api/lists"}