{"id":15130280,"url":"https://github.com/doums/marbre","last_synced_at":"2026-01-18T17:33:24.744Z","repository":{"id":61194740,"uuid":"548610342","full_name":"doums/marbre","owner":"doums","description":"A GraphQL server with pure Code-First approach out of the box.","archived":false,"fork":false,"pushed_at":"2022-10-11T21:39:01.000Z","size":300,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-02T10:04:56.025Z","etag":null,"topics":["code-first","graphql","graphql-server"],"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/doums.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}},"created_at":"2022-10-09T22:52:02.000Z","updated_at":"2022-10-10T19:19:12.000Z","dependencies_parsed_at":"2022-10-12T11:47:00.102Z","dependency_job_id":null,"html_url":"https://github.com/doums/marbre","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/doums/marbre","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doums%2Fmarbre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doums%2Fmarbre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doums%2Fmarbre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doums%2Fmarbre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doums","download_url":"https://codeload.github.com/doums/marbre/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doums%2Fmarbre/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28544888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T14:59:57.589Z","status":"ssl_error","status_checked_at":"2026-01-18T14:59:46.540Z","response_time":98,"last_error":"SSL_read: 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":["code-first","graphql","graphql-server"],"created_at":"2024-09-26T02:43:42.508Z","updated_at":"2026-01-18T17:33:24.728Z","avatar_url":"https://github.com/doums.png","language":"TypeScript","readme":"## Marbre\n\nA GraphQL server with pure Code-First approach out of the box.\n\nStack:\n\n- [Typescript](https://www.typescriptlang.org/)\n- [Fastify](https://www.fastify.io/)\n- [Apollo Server](https://www.apollographql.com/docs/apollo-server/)\n- [Nexus](https://nexusjs.org/docs/)\n\nThe server is built using a simple Fastify application and Apollo\nserver is consumed as a middleware in order to keep the maximum\nflexibility.\n\nThe GraphQL layer embraces the \"[code\nfirst](https://www.prisma.io/blog/introducing-graphql-nexus-code-first-graphql-server-development-ll6s1yy5cxl5)\"\napproach using Nexus.\n\n### Features\n\n- code first approach\n- strong type-safety\n- declarative configuration\n- flexibility, you have access to the Fastify app\n- configuration fully documented (TSDoc)\n\n### Usage\n\n```typescript\nimport { join } from 'path';\nimport { v4 as uuid } from 'uuid';\nimport Marbre from 'marbre';\nimport { context } from './api';\nimport { PORT } from './env';\nimport * as types from './graphql';\n\nconst marbre = new Marbre({\n  types,\n  context,\n  contextType: {\n    module: join(__dirname, 'api/context.ts'),\n    name: 'GqlContext',\n  },\n  sourceTypes: join(__dirname, 'api/sourceTypes.ts'),\n  outputDir: join(__dirname, 'api/generated/'),\n  port: PORT,\n  fastify: {\n    genReqId: () =\u003e uuid(),\n  },\n});\n\n(async () =\u003e {\n  await marbre.start();\n})();\n```\n\n### License\n\nMozilla Public License v2.0\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoums%2Fmarbre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoums%2Fmarbre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoums%2Fmarbre/lists"}