{"id":22704969,"url":"https://github.com/christopherrobin/graphql-starter-pack","last_synced_at":"2026-04-14T04:01:43.990Z","repository":{"id":39564723,"uuid":"147588639","full_name":"christopherrobin/GraphQL-Starter-Pack","owner":"christopherrobin","description":"This is a starter pack for anyone looking to get a React/GraphQL/MongoDB proof of concept running quickly.","archived":false,"fork":false,"pushed_at":"2023-01-04T21:39:54.000Z","size":1814,"stargazers_count":1,"open_issues_count":14,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T20:26:20.321Z","etag":null,"topics":["apollo","apollo-boost","bootstrap","cors","graphql","mongodb","mongoose","react","react-router-dom"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/christopherrobin.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}},"created_at":"2018-09-05T22:55:09.000Z","updated_at":"2023-03-07T07:24:16.000Z","dependencies_parsed_at":"2023-02-02T21:00:43.575Z","dependency_job_id":null,"html_url":"https://github.com/christopherrobin/GraphQL-Starter-Pack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/christopherrobin/GraphQL-Starter-Pack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherrobin%2FGraphQL-Starter-Pack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherrobin%2FGraphQL-Starter-Pack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherrobin%2FGraphQL-Starter-Pack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherrobin%2FGraphQL-Starter-Pack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christopherrobin","download_url":"https://codeload.github.com/christopherrobin/GraphQL-Starter-Pack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopherrobin%2FGraphQL-Starter-Pack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31781292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"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":["apollo","apollo-boost","bootstrap","cors","graphql","mongodb","mongoose","react","react-router-dom"],"created_at":"2024-12-10T09:08:36.276Z","updated_at":"2026-04-14T04:01:43.960Z","avatar_url":"https://github.com/christopherrobin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL Starter Pack\nThis is a GraphQL Starter Pack for anyone looking to get a React/GraphQL/MongoDB proof of concept running quickly. In this example we will use books and authors.\n\nRoadmap includes:\n- Static type checking\n- OAuth\n- Redux\n- Heroku and/or AWS integration with documentation\n\nBased on iamshaunjp's `graphql-playlist` @ https://github.com/iamshaunjp/graphql-playlist\n\n### Features\n* React client side view for adding and viewing books\n* Plug and play server set up for use with Mongo via mLab\n* GraphQL query tool and queries to get started\n* `http://localhost:4000/graphql` GraphQL Query Tool\n* `http://localhost:3000/` Client Side Entry point\n\n### Toolbox\nReact, Express, GraphQL, MongoDB, Mongoose, Apollo, Lodash, Bootstrap, React-Router, dotenv, and CORS\n\n# Quick Start\n1. `git clone https://github.com/christopherrobin/GraphQL-Starter-Pack.git`\n2. `cd GraphQL-Starter-Pack \u0026\u0026 cd client \u0026\u0026 npm install`\n3. Prepare your database\n    - Create a sandbox Mongo DB instance in mLab\n    - Insert database url/credentials into a `.env` in the root of the `server` folder\n\tex: `DATABASEURL=mongodb://\u003cdbuser\u003e:\u003cdbpassword\u003e@ds233061.mlab.com:33061/\u003cdatabasename\u003e`\n    - Create an author: Customize the _Add Author_ mutation from the _Helpful Queries_ section and insert data into our database using the GraphQL Query Tool\n    - Continue to populate database with dummy data as you see fit\n5. `nodemon app` from root of server folder\n6. `npm start` from root of client folder\n\n# Helpful Queries\n### Add Author\n```\nmutation {\n  addAuthor(name:\"Author Name\", age: 50){\n    name\n    age\n  }\n}\n```\n\n### Add Book\n```\nmutation {\n  addBook(\n    name: \"Book Title\",\n    genre: \"Genre\",\n    authorId: \"\u003cauthors id string from mongo db\u003e\"){\n  \t\tname\n  \t\tgenre\n\t\t}\n}\n```\n\n### GET author by authorId\n```\n{\n  author(id:2){\n    name\n    age\n    books{\n      name\n      genre\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristopherrobin%2Fgraphql-starter-pack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristopherrobin%2Fgraphql-starter-pack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristopherrobin%2Fgraphql-starter-pack/lists"}