{"id":22547106,"url":"https://github.com/kiwilan/fastify-template","last_synced_at":"2026-04-20T19:01:51.349Z","repository":{"id":86553280,"uuid":"606500332","full_name":"kiwilan/fastify-template","owner":"kiwilan","description":"Template for Fastify.","archived":false,"fork":false,"pushed_at":"2023-08-20T06:50:14.000Z","size":964,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-28T09:10:00.987Z","etag":null,"topics":["fastify","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kiwilan.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}},"created_at":"2023-02-25T17:20:09.000Z","updated_at":"2023-03-03T21:06:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea37c6a5-7fe9-485d-95a9-05e370ac3c2e","html_url":"https://github.com/kiwilan/fastify-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/kiwilan/fastify-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwilan%2Ffastify-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwilan%2Ffastify-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwilan%2Ffastify-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwilan%2Ffastify-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiwilan","download_url":"https://codeload.github.com/kiwilan/fastify-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwilan%2Ffastify-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32061251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["fastify","nodejs","typescript"],"created_at":"2024-12-07T15:10:08.485Z","updated_at":"2026-04-20T19:01:51.330Z","avatar_url":"https://github.com/kiwilan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fastify template\n\n[![node][node-version-src]][node-version-href]\n[![version][version-src]][version-href]\n[![downloads][downloads-src]][downloads-href]\n[![license][license-src]][license-href]\n\n[![tests][tests-src]][tests-href]\n[![codecov][codecov-src]][codecov-href]\n\n[![fastify](https://img.shields.io/static/v1?label=Fastify\u0026message=v4.x\u0026color=000000\u0026style=flat-square\u0026logo=fastify\u0026logoColor=ffffff)](https://www.fastify.io)\n[![typescript](https://img.shields.io/static/v1?label=TypeScript\u0026message=v4.9\u0026color=3178C6\u0026style=flat-square\u0026logo=typescript\u0026logoColor=ffffff)](https://www.typescriptlang.org)\n[![node.js](https://img.shields.io/static/v1?label=Node.js\u0026message=v18.x\u0026color=339933\u0026style=flat-square\u0026logo=node.js\u0026logoColor=ffffff)](https://nodejs.org/en)\n[![pnpm](https://img.shields.io/static/v1?label=pnpm\u0026message=v7.x\u0026color=F69220\u0026style=flat-square\u0026logo=pnpm\u0026logoColor=ffffff)](https://pnpm.io)\n\nA template for [fastify](https://www.fastify.io/) with Typescript, eslint, pnpm and `@kiwilan/fastify-utils`.\n\n## Setup\n\n```bash\npnpm i\n```\n\n```bash\ncp .env.example .env\n```\n\n```bash\npnpm dev\n```\n\n## Build\n\nIn `.env`:\n\n```bash\nLOG_LEVEL=error      # debug | error | fatal  | info | trace | warn | silent\n\nPORT=3000 # pm2 port\nBASE_URL=domain.com\nHTTPS=true\n```\n\n```bash\npnpm build\n```\n\n### Nginx\n\n```bash\nserver {\n  listen 80;\n  listen [::]:80;\n  server_name api.domain.com;\n\n  charset utf-8;\n\n  error_log /var/log/nginx/api.log warn;\n  access_log /var/log/nginx/api.log;\n\n  location / {\n    include proxy_params;\n    proxy_pass http://localhost:3000; # pm2 port\n  }\n}\n```\n\n## License\n\n[MIT](LICENSE)\n\n[version-src]: https://img.shields.io/npm/v/@kiwilan/filesystem.svg?style=flat-square\u0026colorA=18181B\u0026colorB=339933\n[version-href]: https://www.npmjs.com/package/@kiwilan/filesystem\n[node-version-src]: https://img.shields.io/static/v1?style=flat-square\u0026label=Node.js\u0026message=v16\u0026color=339933\u0026logo=node\u0026logoColor=ffffff\u0026labelColor=18181b\n[node-version-href]: https://www.php.net/\n[downloads-src]: https://img.shields.io/npm/dt/@kiwilan/filesystem.svg?style=flat-square\u0026colorA=18181B\u0026colorB=339933\n[downloads-href]: https://www.npmjs.com/package/@kiwilan/filesystem\n[license-src]: https://img.shields.io/github/license/kiwilan/node-filesystem.svg?style=flat-square\u0026colorA=18181B\u0026colorB=339933\n[license-href]: https://github.com/kiwilan/node-filesystem/blob/main/README.md\n[tests-src]: https://img.shields.io/github/actions/workflow/status/kiwilan/node-filesystem/run-tests.yml?branch=main\u0026label=tests\u0026style=flat-square\u0026colorA=18181B\n[tests-href]: https://github.com/kiwilan/node-filesystem/actions/workflows/run-tests.yml\n[codecov-src]: https://codecov.io/gh/kiwilan/node-filesystem/branch/main/graph/badge.svg?token=SHQV8D60YV\n[codecov-href]: https://codecov.io/gh/kiwilan/node-filesystem\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiwilan%2Ffastify-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiwilan%2Ffastify-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiwilan%2Ffastify-template/lists"}