{"id":15789658,"url":"https://github.com/transitive-bullshit/koa-api-boilerplate","last_synced_at":"2025-06-10T18:12:59.668Z","repository":{"id":143882673,"uuid":"129982908","full_name":"transitive-bullshit/koa-api-boilerplate","owner":"transitive-bullshit","description":"Koa 2 API boilerplate with batteries-included.","archived":false,"fork":false,"pushed_at":"2020-07-11T23:11:33.000Z","size":82,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T09:02:42.337Z","etag":null,"topics":["api","boilerplate","koa","koa2","mongodb","mongoose"],"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/transitive-bullshit.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":"2018-04-18T00:58:46.000Z","updated_at":"2023-08-01T04:38:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"b05c18bf-adf5-4d2c-abc1-75d62a083f1f","html_url":"https://github.com/transitive-bullshit/koa-api-boilerplate","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transitive-bullshit%2Fkoa-api-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transitive-bullshit%2Fkoa-api-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transitive-bullshit%2Fkoa-api-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transitive-bullshit%2Fkoa-api-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transitive-bullshit","download_url":"https://codeload.github.com/transitive-bullshit/koa-api-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transitive-bullshit%2Fkoa-api-boilerplate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258777335,"owners_count":22756079,"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":["api","boilerplate","koa","koa2","mongodb","mongoose"],"created_at":"2024-10-04T22:02:44.822Z","updated_at":"2025-06-10T18:12:59.621Z","avatar_url":"https://github.com/transitive-bullshit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# koa-api-boilerplate\n\n\u003e [Koa 2](http://koajs.com/) API boilerplate with batteries-included.\n\n[![NPM](https://img.shields.io/npm/v/koa-api-boilerplate.svg)](https://www.npmjs.com/package/koa-api-boilerplate) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Features\n\n- [koa-micro](https://github.com/transitive-bullshit/koa-micro) - microservices with batteries included\n  - Koa 2 app\n  - Common context utilities\n  - Common middleware like error handling, response time, CORS, auth, etc\n  - Logger supporting [Google Cloud Trace](https://cloud.google.com/trace/)\n  - Error handler middleware with [Google Cloud Errors](https://cloud.google.com/error-reporting/)\n  - Health check endpoint (`/alive` by default)\n- [koa2-mongoose-crud](https://github.com/transitive-bullshit/koa2-mongoose-crud) - CRUD middleware for Mongoose models\n  - Quickly create RESTful APIs over mongodb models\n\n## Todo\n\n- jwt authentication\n- acl authorization\n- github / facebook / twitter oauth flows\n- redo mongoose base model and revisit safePaths stuff\n- revisit db abstraction\n\n- accompanying frontend CRA boilerplate\n- user signup / signin / signout / reset password flows\n\n## License\n\nMIT © [Travis Fischer](https://github.com/transitive-bullshit)\n\nSupport my OSS work by \u003ca href=\"https://twitter.com/transitive_bs\"\u003efollowing me on twitter \u003cimg src=\"https://storage.googleapis.com/saasify-assets/twitter-logo.svg\" alt=\"twitter\" height=\"24px\" align=\"center\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransitive-bullshit%2Fkoa-api-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftransitive-bullshit%2Fkoa-api-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransitive-bullshit%2Fkoa-api-boilerplate/lists"}