{"id":17480325,"url":"https://github.com/yonathan06/fastify-typescript-starter","last_synced_at":"2025-04-04T20:08:36.522Z","repository":{"id":43061731,"uuid":"290687207","full_name":"yonathan06/fastify-typescript-starter","owner":"yonathan06","description":"Node.js starter using Fastify \u0026 TypeScript","archived":false,"fork":false,"pushed_at":"2024-12-01T07:42:58.000Z","size":79,"stargazers_count":162,"open_issues_count":0,"forks_count":26,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-28T19:08:04.975Z","etag":null,"topics":[],"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/yonathan06.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":"2020-08-27T05:44:45.000Z","updated_at":"2025-03-27T10:47:17.000Z","dependencies_parsed_at":"2024-11-01T02:01:37.929Z","dependency_job_id":"b95a3da0-a0e7-48cf-ab4c-73528e37cc9c","html_url":"https://github.com/yonathan06/fastify-typescript-starter","commit_stats":{"total_commits":35,"total_committers":4,"mean_commits":8.75,"dds":"0.22857142857142854","last_synced_commit":"eac07dabeaa8ce95952471928183ef403ef9ed65"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonathan06%2Ffastify-typescript-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonathan06%2Ffastify-typescript-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonathan06%2Ffastify-typescript-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonathan06%2Ffastify-typescript-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yonathan06","download_url":"https://codeload.github.com/yonathan06/fastify-typescript-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242678,"owners_count":20907134,"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":[],"created_at":"2024-10-18T21:43:24.869Z","updated_at":"2025-04-04T20:08:36.499Z","avatar_url":"https://github.com/yonathan06.png","language":"TypeScript","funding_links":[],"categories":["Fastify","TypeScript"],"sub_categories":[],"readme":"# Node.js starter using Fastify \u0026 TypeScript\n\n![ci badge](https://github.com/yonathan06/fastify-typescript-boilerplate/workflows/CI/badge.svg)\n[![Sync Vulnerabilities Status](https://app.snyk.io/test/github/yonathan06/fastify-typescript-boilerplate/badge.svg)](https://snyk.io/test/github/yonathan06/fastify-typescript-boilerplate)\n\nCreate a new server:\n```bash\npnpx degit yonathan06/fastify-typescript-starter my-server\n```\nor `npx`.\n\nSee [degit](https://github.com/Rich-Harris/degit) docs for detailed explaination \n\n## Included in the boilerplate\n\n- TypeScript (using esbuild for fast compilation, and tsx for development)\n- Env vars\n- Tests (using Vitest)\n- Fastify\n- CI with github actions\n- Docker image\n- Linting\n\n**BYODB - Bring your own database** - no database connection included\n\n## Set Up\n\n- Install the dependencies.\n\n```bash\npnpm install\n```\n\nor npm/yarn\n\n- Start the server in development mode.\n\n```bash\npnpm dev\n```\n\nor npm/yarn\n\n## Env vars\n\nLoaded from `.env` file, with schema validation\n\n## Backend API Development\n\nThere are a number of handy commands you can run to help with development.\n\n|Command | Action |\n|---|---|\n|`pnpm run dev` | Run the server in dev mode, automatically restarts on file change |\n|`pnpm build`| Compile TypeScript to JavaScript |\n|`pnpm start`| Start JavaScript from 'build' directory |\n|`pnpm test`| Run unit tests (run `pnpm build` before) |\n|`pnpm test:watch`| Run backend tests in watch mode, running on changed test files |\n|`pnpm lint`| Run eslint |\n|`pnpm lint:fix`| Run eslint in fix mode |\n\n## CI\n\nRun tests on push/PR to 'main' branch\nCheck `.github/workflows/CI.yml`\n\n## Recommended Vscode Extensions\n\n[Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)\n[ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonathan06%2Ffastify-typescript-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyonathan06%2Ffastify-typescript-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonathan06%2Ffastify-typescript-starter/lists"}