{"id":15046235,"url":"https://github.com/opendevs-org/fastify-typescript-generator","last_synced_at":"2026-02-10T19:07:02.646Z","repository":{"id":42716792,"uuid":"289709655","full_name":"opendevs-org/fastify-typescript-generator","owner":"opendevs-org","description":"generates new fastify applications in everyone's favourite language typescript with various options to choose from based on your project needs","archived":false,"fork":false,"pushed_at":"2026-02-04T07:37:11.000Z","size":2260,"stargazers_count":36,"open_issues_count":6,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-04T19:30:56.794Z","etag":null,"topics":["boilerplate","express","expressjs","fastify","fastify-applications","fastify-typescript-generator","fastifyjs","generator","hactoberfest","jest","mongodb","mongoose","starter","starter-template","swagger","template","typeorm","typescript"],"latest_commit_sha":null,"homepage":"https://opendevs.in","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/opendevs-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2020-08-23T15:07:55.000Z","updated_at":"2026-02-04T07:36:48.000Z","dependencies_parsed_at":"2024-10-11T04:51:00.213Z","dependency_job_id":null,"html_url":"https://github.com/opendevs-org/fastify-typescript-generator","commit_stats":{"total_commits":58,"total_committers":4,"mean_commits":14.5,"dds":0.5862068965517242,"last_synced_commit":"2ac845681e4476cb477157742645e23df03ba561"},"previous_names":["open-devs/fastify-typescript-generator"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/opendevs-org/fastify-typescript-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendevs-org%2Ffastify-typescript-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendevs-org%2Ffastify-typescript-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendevs-org%2Ffastify-typescript-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendevs-org%2Ffastify-typescript-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opendevs-org","download_url":"https://codeload.github.com/opendevs-org/fastify-typescript-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendevs-org%2Ffastify-typescript-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29313093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T17:48:59.043Z","status":"ssl_error","status_checked_at":"2026-02-10T17:45:37.240Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["boilerplate","express","expressjs","fastify","fastify-applications","fastify-typescript-generator","fastifyjs","generator","hactoberfest","jest","mongodb","mongoose","starter","starter-template","swagger","template","typeorm","typescript"],"created_at":"2024-09-24T20:52:53.563Z","updated_at":"2026-02-10T19:07:02.582Z","avatar_url":"https://github.com/opendevs-org.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/opendevs"],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ewelcome to fastify-typescript-generator 👋\u003c/h1\u003e\n\u003cp\u003e\n  \u003cimg alt=\"Version\" src=\"https://img.shields.io/github/package-json/v/open-devs/fastify-typescript-generator\" /\u003e\n  \u003ca href=\"https://www.npmjs.com/package/fastify-typescript-generator\" target=\"_blank\"\u003e\n    \u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/v/fastify-typescript-generator\"\u003e\n  \u003c/a\u003e\n  \u003cimg alt=\"npm bundle size\" src=\"https://img.shields.io/bundlephobia/minzip/fastify-typescript-generator\"\u003e\n  \u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/dm/fastify-typescript-generator\"\u003e\n  \u003ca href=\"https://github.com/open-devs/fastify-typescript-generator#readme\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Documentation\" src=\"https://img.shields.io/badge/documentation-yes-blue.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/open-devs/fastify-typescript-generator/graphs/commit-activity\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Maintenance\" src=\"https://img.shields.io/badge/Maintained-yes-blue.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/open-devs/fastify-typescript-generator/blob/master/LICENSE\" target=\"_blank\"\u003e\n  \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/npm/l/fastify-typescript-generator\" /\u003e\n  \u003cimg alt=\"Snyk Vulnerabilities for npm package\" src=\"https://img.shields.io/snyk/vulnerabilities/npm/fastify-typescript-generator\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e generates new [fastify](https://www.fastify.io/) applications in everyone's favourite language [typescript](https://github.com/microsoft/TypeScript) with various options to choose from based on your project needs\n\n### 🏠 [homepage](https://github.com/open-devs/fastify-typescript-generator#readme)\n\n### 📰 [npm](https://www.npmjs.com/package/fastify-typescript-generator)\n\n## 📸 demo\n\n![fastify-typescript-generator-demo](.demo/fastify-ts-gen-demo.gif)\n\n## install\n\n```sh\n$ npm i -g fastify-typescript-generator\n```\n\n## usage\n\nRun anyone of following commands:\n\n```sh\n$ fastify-gen\n# or\n$ fastify-typescript-generator\n# or\n$ fastify-ts-gen\n```\n\nOr, to avoid installation and usage simply use the following command:\n\n```sh\n$ npx fastify-typescript-generator\n```\n\n## ❓ what is it\n\ncreates a new fastify application as a starter boilerplate similar to the fastify-cli module. except this new application is configured to use typeScript instead of plain javascript and provides various options such as, kind of project structure to use with focus on plugin structure for fastify developers and express structure for developers with experience in developing with express, it also provides options for typeorm or mongoose.\n\n## 🤔 why fastify-typescript-generator\n\nnodejs is great for the rapid development of web-projects, but is often neglected because of the lack of type safety. typescript solves this issue and (along with its linter file) can even make your code more robust than some other static languages like java.\n\nthere are some other tools out there to generate fastify apps with javascript such as fastify-cli, but these either haven't been updated in a while or don't support typescript or don't support various development patterns.\n\nin this application you have two options to setup a project in fastify plugin architecture or express architecture, we have setup mongoose/typeorm integration, routes, swagger (in plugin structure only) for you.\n\n## 📜 different options available explained\n\n\u003ctable\u003e\n\u003ccaption\u003edescription of various options available\u003c/caption\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003ename\u003c/th\u003e\n\u003cth\u003edescription\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eplugin-structure-mongoose\u003c/td\u003e\n\u003ctd\u003ethis type of structure includes fastify plugin structure which relies on modules described as reusable plugins that contain their own entities, routes \u0026 schemas, additionally paired with swagger and mongoose for connection with mongodb\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eplugin-structure-typeorm\u003c/td\u003e\n\u003ctd\u003ethis type of structure includes fastify plugin structure which relies on modules described as reusable plugins that contain their own entities, routes \u0026 schemas, additionally paired with swagger and typeorm for connection with various sql (like postgresql, mysql) and no-sql databases (like mongodb)\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eexpress-structure-mongoose\u003c/td\u003e\n\u003ctd\u003ethis type of structure includes express generator structure which relies on models, routes, dao, services, additionally paired with swagger and mongoose for connection with mongodb\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eexpress-structure-typeorm\u003c/td\u003e\n\u003ctd\u003ethis type of structure includes express generator structure which relies on models, routes, services, additionally paired with swagger and typeorm for connection with various sql (like postgresql, mysql) and no-sql databases (like mongodb)\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003cbr\u003e\n\nhappy app-deving 😊\n\n## 👤 author\n\n **open devs (open.devs.github@gmail.com)**\n\n* website: https://opendevs.in/\n* github: [@open-devs](https://github.com/open-devs)\n* core members: [@alok722](https://github.com/alok722), [@mikr13](https://github.com/mikr13)\n\n## 🚀 future scope\n\n* adding docker \u0026 container configurations\n* adding template support\n* more template structures\n\n## 🤝 contributing\n\ncontributions, issues and feature requests are welcome!\u003cbr /\u003efeel free to check [issues page](https://github.com/open-devs/fastify-typescript-generator/issues). you can also take a look at the [contributing guide](https://github.com/open-devs/fastify-typescript-generator/blob/master/CONTRIBUTING.md).\n\n## 🙌 show your support\n\ngive a ⭐️ if this project helped you!\n\n\u003ca href=\"https://www.buymeacoffee.com/opendevs\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" alt=\"Buy Me A Coffee\" height=\"41\" width=\"174\"\u003e\u003c/a\u003e\n\n## 📝 license\n\ncopyright © 2020 [open devs (open.devs.github@gmail.com)](https://github.com/open-devs).\u003cbr /\u003e\nThis project is [MIT](https://github.com/open-devs/fastify-typescript-generator/blob/master/LICENSE) licensed.\n\n***\n_this README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopendevs-org%2Ffastify-typescript-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopendevs-org%2Ffastify-typescript-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopendevs-org%2Ffastify-typescript-generator/lists"}