{"id":20182965,"url":"https://github.com/theogravity/apifire-server","last_synced_at":"2026-01-23T03:48:15.009Z","repository":{"id":39614452,"uuid":"264778841","full_name":"theogravity/apifire-server","owner":"theogravity","description":"Generates an express-based API server w/ database migrations and models and an error-handling / logging infrastructure written in Typescript","archived":false,"fork":false,"pushed_at":"2023-05-11T00:22:08.000Z","size":304,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T06:45:25.600Z","etag":null,"topics":["code-generator","database","express","generator","nodejs","objectionjs","openapi","openapi-generator","openapi3","orm","swagger","typescript","yeoman","yeoman-generator"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/theogravity.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}},"created_at":"2020-05-17T23:51:29.000Z","updated_at":"2022-11-21T19:57:06.000Z","dependencies_parsed_at":"2023-02-18T16:31:39.363Z","dependency_job_id":null,"html_url":"https://github.com/theogravity/apifire-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theogravity%2Fapifire-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theogravity%2Fapifire-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theogravity%2Fapifire-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theogravity%2Fapifire-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theogravity","download_url":"https://codeload.github.com/theogravity/apifire-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161740,"owners_count":21057643,"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":["code-generator","database","express","generator","nodejs","objectionjs","openapi","openapi-generator","openapi3","orm","swagger","typescript","yeoman","yeoman-generator"],"created_at":"2024-11-14T02:43:29.623Z","updated_at":"2026-01-23T03:48:14.928Z","avatar_url":"https://github.com/theogravity.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generator-apifire-server \n\n[![NPM version](http://img.shields.io/npm/v/generator-apifire-server.svg?style=flat-square)](https://www.npmjs.com/package/generator-apifire-server)\n![built with typescript](https://camo.githubusercontent.com/92e9f7b1209bab9e3e9cd8cdf62f072a624da461/68747470733a2f2f666c61742e62616467656e2e6e65742f62616467652f4275696c74253230576974682f547970655363726970742f626c7565) \n\n\n\u003e Generates an express API server written in Typescript with routes/controllers/validation/model/migration generation capabilities. \n\u003e Use an OpenAPI 3 yaml file to generate controllers / routers / validators\n\u003e Use a yaml to generate objection.js models and knex migrations\n\nUses the following libraries:\n\n- [`configurity`](https://github.com/theogravity/configurity): Handles configuration\n- [`objection-generator`](https://github.com/theogravity/objection-generator): Generates Typescript objection.js models and knex migrations\n- [`new-error`](https://github.com/theogravity/new-error): Used to build an error-handling infrastructure\n- [`apifire`](https://github.com/theogravity/apifire): Generates Typescript controllers/routers/validators from an OpenAPI 3 spec.\n- [`ajv`](https://ajv.js.org/): Validates API request parameters in routers\n- [`loglayer`](https://github.com/theogravity/loglayer): Structured logging\n\nSee the [`apifire`](https://github.com/theogravity/apifire) for notes on current limitations with using an OpenAPI 3 spec.\n\nThe generated project comes with a sample OpenAPI and `objection-generator` spec to quickly get a working server up and running.\n\n## Installation\n\nFirst, install [Yeoman](http://yeoman.io) and generator-api-server using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).\n\n```bash\nnpm install -g yo\nnpm install -g generator-apifire-server\n```\n\nThen generate your new project:\n\n```bash\nyo apifire-server\n```\n\n## Getting To Know Yeoman\n\n * Yeoman has a heart of gold.\n * Yeoman is a person with feelings and opinions, but is very easy to work with.\n * Yeoman can be too opinionated at times but is easily convinced not to be.\n * Feel free to [learn more about Yeoman](http://yeoman.io/).\n\n## License\n\nMIT © [Theo Gravity](https://github.com/theogravity)\n\n\n[npm-image]: https://badge.fury.io/js/generator-ts-openapi-server.svg\n[npm-url]: https://npmjs.org/package/generator-ts-openapi-server\n[travis-image]: https://travis-ci.com/theogravity/generator-ts-openapi-server.svg?branch=master\n[travis-url]: https://travis-ci.com/theogravity/generator-ts-openapi-server\n[daviddm-image]: https://david-dm.org/theogravity/generator-ts-openapi-server.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/theogravity/generator-ts-openapi-server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheogravity%2Fapifire-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheogravity%2Fapifire-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheogravity%2Fapifire-server/lists"}