{"id":19255461,"url":"https://github.com/patrick-emmanuel/node-react-graphql-starter","last_synced_at":"2025-04-21T15:30:35.987Z","repository":{"id":127191872,"uuid":"172712578","full_name":"patrick-emmanuel/node-react-graphql-starter","owner":"patrick-emmanuel","description":"Node starter, with prisma, React, graphql and docker configured","archived":false,"fork":false,"pushed_at":"2019-03-06T14:27:33.000Z","size":657,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-01T14:02:21.027Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patrick-emmanuel.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":"2019-02-26T13:02:36.000Z","updated_at":"2023-02-17T10:34:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ad763bd-232f-4231-b692-3abc9f7021c6","html_url":"https://github.com/patrick-emmanuel/node-react-graphql-starter","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/patrick-emmanuel%2Fnode-react-graphql-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrick-emmanuel%2Fnode-react-graphql-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrick-emmanuel%2Fnode-react-graphql-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrick-emmanuel%2Fnode-react-graphql-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrick-emmanuel","download_url":"https://codeload.github.com/patrick-emmanuel/node-react-graphql-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250080466,"owners_count":21371513,"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-11-09T18:41:16.607Z","updated_at":"2025-04-21T15:30:35.981Z","avatar_url":"https://github.com/patrick-emmanuel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\u003cstrong\u003e🚀 Bootstrap your fullstack GraphQL app within seconds\u003c/strong\u003e\u003c/div\u003e\n\u003cdiv align=\"center\"\u003eAdvanced starter kit for a fullstack GraphQL app with React and Node.js - based on best practices from the GraphQL community.\u003c/div\u003e\n\n## Features\n\n- **Scalable GraphQL server:** The server uses [`apollo-server-express`](https://www.apollographql.com/docs/apollo-server/servers/express.html) which is based on Apollo Server \u0026 Express\n- **Pre-configured Apollo Client:** The project comes with a preconfigured setup for Apollo Client\n- **GraphQL database:** Includes GraphQL database binding to [Prisma](https://www.prismagraphql.com) (running on PostgreSQL)\n- **Tooling**: Out-of-the-box support for [GraphQL Playground](https://github.com/prisma/graphql-playground) \u0026 [query performance tracing](https://github.com/apollographql/apollo-tracing)\n- **Extensible**: Simple and flexible [data model](./database/datamodel.graphql) – easy to adjust and extend\n- **No configuration overhead**: Preconfigured [`graphql-config`](https://github.com/prisma/graphql-config) setup\n- **Storybook JS**: Build and test your components with storybookjs. Learn more [`here`](https://www.storybookjs.org)\n- **Typescript**: Write and ship code with confidence with static typing\n- **Docker**: Develop your application in containerized format. Write once, run anywhere.\n- **Caddy server**: Caddy server is setup for proxy and load-balancing\n\nA full-fledged **React, Node and Apollo boilerplate**\n\n## Requirements\n\n```sh\nEnsure you have node installed on your machine.\n```\n\n## Getting started\n\n```sh\n# 1. Clone the repo\ngit clone https://github.com/the-bionic/node-react-graphql-starter.git my-app \u0026\u0026 cd my-app\nnpm install --prefix client \u0026\u0026 npm install --prefix server \n\n# 2. Start docker\ndocker-compose up\n\n# 3. Deploy the prisma service.\nnpm run --prefix server deploy:dev OR cd server \u0026\u0026 npm run deploy:dev\n\n# 4. View app\nApp is running on localhost:2015\n```\n\n## Testing\n\n```sh\n## Server:\nTo the test the app, deploy prisma test db, and run the tests:\nnpm run --prefix server deploy:test or cd server \u0026\u0026 npm run deploy:test\nnpm run --prefix server test:docker\n\n## Client\nnpm run --prefix client test:docker\n```\n\n## Commands\n\n```sh\n# server\n* `npm run --prefix server build-types` To generate typescript client types from the graphql server. Ensure the app is running.\n\n# client\n* `npm run --prefix client test:docker` To test client\n* `npm run --prefix client storybook:docker` To run storybook. Visit localhost:9009 to see it.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrick-emmanuel%2Fnode-react-graphql-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrick-emmanuel%2Fnode-react-graphql-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrick-emmanuel%2Fnode-react-graphql-starter/lists"}