{"id":16416619,"url":"https://github.com/devanb/graphql-template-basic-typescript","last_synced_at":"2025-08-31T20:32:57.964Z","repository":{"id":144992321,"uuid":"114323491","full_name":"DevanB/graphql-template-basic-typescript","owner":"DevanB","description":"A basic boilerplate for a scalable, production-ready GraphQL gateway server.","archived":false,"fork":false,"pushed_at":"2017-12-15T03:33:56.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T11:19:23.187Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/DevanB.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":"2017-12-15T03:33:32.000Z","updated_at":"2017-12-15T03:33:58.000Z","dependencies_parsed_at":"2023-04-24T22:55:23.480Z","dependency_job_id":null,"html_url":"https://github.com/DevanB/graphql-template-basic-typescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DevanB/graphql-template-basic-typescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevanB%2Fgraphql-template-basic-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevanB%2Fgraphql-template-basic-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevanB%2Fgraphql-template-basic-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevanB%2Fgraphql-template-basic-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevanB","download_url":"https://codeload.github.com/DevanB/graphql-template-basic-typescript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevanB%2Fgraphql-template-basic-typescript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273034858,"owners_count":25034483,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-11T07:09:41.384Z","updated_at":"2025-08-31T20:32:57.946Z","avatar_url":"https://github.com/DevanB.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# graphql-template-basic-typescript\n\n![](https://imgur.com/eMpNw0e.png)\n\nBasic boilerplate for a scalable, production-ready GraphQL gateway server built in TypeScript.\n\n## Features\n\n* Database (via [Graphcool](https://graph.cool))\n* Foundational base for new GraphQL servers\n\n## Getting started\n\n#### Requirements\n\n* Node 8 (or higher)\n* Graphcool CLI (Get it via `npm i -g graphcool@alpha`)\n* GraphQL CLI (Get it via `npm i -g graphql-cli@beta`)\n* Optional: GraphQL Playground desktop app (Download [here](https://github.com/graphcool/graphql-playground/releases))\n\n#### Setup your project\n\nVia `graphql-cli`\n\n```sh\n# 1. From the root directory of choice execute:\ngraphql create [project-name]\n\n# 2. Choose the \"Basic (TypeScript, DB)\" option\n\n# 3. Navigate to the new project\ncd [project-name]\n\n# 4. Deploy the Graphcool database\ngraphcool deploy\n```\n\nBy cloning this repository\n\n```sh\n# 1. Clone the repository\ngit clone http://github.com/DevanB/graphql-template-basic-typescript\n\n# 2. Navigate to the new project\ncd [project-name]\n\n# 3. Deploy the Graphcool database\ngraphcool deploy\n```\n\n#### Launch the local server\n\n```sh\n# Start server (runs on http://localhost:4000)\nyarn start\n\n# Open Playground to explore GraphQL API\nyarn playground\n```\n\n## Docs\n\n### Commands\n\n* `yarn start` starts GraphQL server\n* `yarn debug` starts GraphQL server in debug mode (open [chrome://inspect/#devices](chrome://inspect/#devices) to debug)\n* `yarn playground` opens the GraphQL Playground\n* `yarn build` builds the application\n* `yarn deploy` deploys GraphQL server to [`now`](https://now.sh)\n\n### Project Overview\n#### `/`\n- [`.graphqlconfig.yml`](https://github.com/graphcool/graphql-boilerplate/blob/master/.graphqlconfig.yml) GraphQL Config file containing the endpoints and schema configuration. Used by the [`graphql-cli`](https://github.com/graphcool/graphql-cli) and the [GraphQL Playground](https://github.com/graphcool/graphql-playground). See [graphql-config](https://github.com/graphcool/graphql-config) for more information.\n\n#### `/database`\n- [`/database/datamodel.graphql`](https://github.com/graphcool/graphql-boilerplate/blob/master/database/datamodel.graphql) contains the Database model that you define\n- [`/database/schema.graphql`](https://github.com/graphcool/graphql-boilerplate/blob/master/database/schema.graphql) contains the database API that is being generated based on your `datamodel.graphql`\n\n#### `/src`\n- [`/src/schema.graphql`](https://github.com/graphcool/graphql-boilerplate/blob/master/src/schema.graphql) contains the GraphQL API of your application that is exposed to the world\n- [`/src/index.ts`](https://github.com/graphcool/graphql-boilerplate/blob/master/src/index.ts) is the entry point of your application, defining the resolvers and starting the [`graphql-yoga`](https://github.com/graphcool/graphql-yoga) server.\n\n## Community\n\nGraphcool has a community of thousands of amazing developers and contributors. Welcome, please join us! 👋\n\n* [Forum](https://www.graph.cool/forum)\n* [Slack](https://slack.graph.cool/)\n* [Stackoverflow](https://stackoverflow.com/questions/tagged/graphcool)\n* [Twitter](https://twitter.com/graphcool)\n* [Facebook](https://www.facebook.com/GraphcoolHQ)\n* [Meetup](https://www.meetup.com/graphql-berlin)\n* [Email](hello@graph.cool)\n\n## Contributing\n\nYour feedback is **very helpful**, please share your opinion and thoughts!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevanb%2Fgraphql-template-basic-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevanb%2Fgraphql-template-basic-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevanb%2Fgraphql-template-basic-typescript/lists"}