{"id":15391319,"url":"https://github.com/rtivital/fastify-template","last_synced_at":"2025-06-17T18:36:18.505Z","repository":{"id":197276281,"uuid":"640649057","full_name":"rtivital/fastify-template","owner":"rtivital","description":"A basic Fastify template with TypeScript, ESM, ESLint and Prettier. Node.js 18+ only.","archived":false,"fork":false,"pushed_at":"2024-10-27T11:03:10.000Z","size":4672,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T23:11:26.165Z","etag":null,"topics":["fastify","nodejs"],"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/rtivital.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-05-14T19:22:40.000Z","updated_at":"2024-10-27T11:03:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"74e7db05-ef5f-4e79-ac70-0be158194fbb","html_url":"https://github.com/rtivital/fastify-template","commit_stats":{"total_commits":45,"total_committers":1,"mean_commits":45.0,"dds":0.0,"last_synced_commit":"76e5336ea321ee89805fc95f2f21b55b9d1700d9"},"previous_names":["rtivital/fastify-template"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/rtivital/fastify-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtivital%2Ffastify-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtivital%2Ffastify-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtivital%2Ffastify-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtivital%2Ffastify-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtivital","download_url":"https://codeload.github.com/rtivital/fastify-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtivital%2Ffastify-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260419592,"owners_count":23006312,"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":["fastify","nodejs"],"created_at":"2024-10-01T15:10:43.282Z","updated_at":"2025-06-17T18:36:13.481Z","avatar_url":"https://github.com/rtivital.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fastify template\n\nA basic fastify server template with TypeScript, ESM, ESLint and Prettier. Node.js 18+ is required.\n\n## Getting started\n\n1. Clone or download the repository or click \"Use this template\" button on GitHub.\n2. Run `nvm use` – it will install the required Node.js version if it is not installed yet.\n3. Install dependencies: `yarn`\n4. Create `.env` file from `.env.example`: `cp .env.example .env`. Change the values if needed.\n5. Run the server: `npm run dev`\n\n## Build for production\n\n1. Run `npm run build`\n2. To start production application run `npm start`\n\n## npm scripts\n\n- `npm run dev` - start the server in development mode\n- `npm run build` - build the server for production\n- `npm start` - start the server in production mode (it is required to build the server first)\n- `npm run lint` - run ESLint\n- `npm run typecheck` – run TypeScript type checking\n- `npm run prettier:test` – check formatting with Prettier\n- `npm run prettier:write` – format files with Prettier\n- `npm test` – run typechecking, linting and formatting checks\n\n## Env variables\n\n- `PORT` - port to run the server on\n- `HOST` - host to run the server on\n- `NODE_ENV` - environment the server is running in, can be `development`, `production` or `test`, default is `production`\n- `CORS` - CORS configuration, default is empty string. Example: `http://localhost:3000,http://localhost:3001`\n- `LOG_LEVEL` - log level, can be `fatal`, `error`, `warn`, `info` or `debug`, default is `error`\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtivital%2Ffastify-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtivital%2Ffastify-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtivital%2Ffastify-template/lists"}