{"id":18546967,"url":"https://github.com/fabogit/fastify-prisma-zod-swagger","last_synced_at":"2025-07-30T21:09:38.674Z","repository":{"id":107295286,"uuid":"586293803","full_name":"fabogit/fastify-prisma-zod-swagger","owner":"fabogit","description":"Fastify REST API, Prisma orm to manage db schema \u0026 migrations","archived":false,"fork":false,"pushed_at":"2023-01-08T11:58:44.000Z","size":227,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T23:07:02.786Z","etag":null,"topics":["docker-compose","fastify","postgresql","prisma","swagger","typescript","zod"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabogit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-07T16:19:27.000Z","updated_at":"2024-10-24T13:28:18.000Z","dependencies_parsed_at":"2023-05-04T15:35:45.811Z","dependency_job_id":null,"html_url":"https://github.com/fabogit/fastify-prisma-zod-swagger","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/fabogit%2Ffastify-prisma-zod-swagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabogit%2Ffastify-prisma-zod-swagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabogit%2Ffastify-prisma-zod-swagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabogit%2Ffastify-prisma-zod-swagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabogit","download_url":"https://codeload.github.com/fabogit/fastify-prisma-zod-swagger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250528731,"owners_count":21445516,"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":["docker-compose","fastify","postgresql","prisma","swagger","typescript","zod"],"created_at":"2024-11-06T20:27:40.399Z","updated_at":"2025-04-23T23:07:37.832Z","avatar_url":"https://github.com/fabogit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fastify-prisma-zod-swagger\n\nif there is no `package.json` file:\n\n- `npm init -y`\n\n- `npm i typescript`\n\n- `npx tsc --init `\n\n- `npm i prisma @prisma/client fastify fastify-zod zod zod-to-json-schema fastify-jwt fastify-swagger `\n\n- `npm i -D ts-node-dev typescript @types/node`\n\n- `npm run dev`\n\n###  Initialise prisma\n\n`npx prisma init --datasource-provider postgresql`\n\n### Turn your database schema into a Prisma schema\n\n`npx prisma db pull`\n\n### Generate prisma client\n\n`npx prisma generate`\n\n### Migrate the schema\n\n`npx prisma migrate dev --name init`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabogit%2Ffastify-prisma-zod-swagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabogit%2Ffastify-prisma-zod-swagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabogit%2Ffastify-prisma-zod-swagger/lists"}