{"id":25055213,"url":"https://github.com/tony-tvu/simple-express-react-graphql-template","last_synced_at":"2026-04-13T19:31:08.434Z","repository":{"id":39699405,"uuid":"489406554","full_name":"tony-tvu/simple-express-react-graphql-template","owner":"tony-tvu","description":"Full stack app built with Express, Apollo Graphql, MongoDB, React, and TypeScript","archived":false,"fork":false,"pushed_at":"2022-06-24T19:39:56.000Z","size":454,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T08:43:08.220Z","etag":null,"topics":["apollo","apollo-graphql","express","graphql","mern","mern-stack","mongodb","node","react","typescript"],"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/tony-tvu.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-05-06T15:33:02.000Z","updated_at":"2023-12-07T16:22:52.000Z","dependencies_parsed_at":"2022-09-20T08:33:28.358Z","dependency_job_id":null,"html_url":"https://github.com/tony-tvu/simple-express-react-graphql-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tony-tvu/simple-express-react-graphql-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-tvu%2Fsimple-express-react-graphql-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-tvu%2Fsimple-express-react-graphql-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-tvu%2Fsimple-express-react-graphql-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-tvu%2Fsimple-express-react-graphql-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tony-tvu","download_url":"https://codeload.github.com/tony-tvu/simple-express-react-graphql-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tony-tvu%2Fsimple-express-react-graphql-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31768635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"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-graphql","express","graphql","mern","mern-stack","mongodb","node","react","typescript"],"created_at":"2025-02-06T12:29:16.252Z","updated_at":"2026-04-13T19:31:08.412Z","avatar_url":"https://github.com/tony-tvu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Apollo GraphQL\n\nThis is a simple full stack application built with Express, Apollo Graphql, MongoDB, React, and TypeScript which can be used as a template for your next project.\n\n## Steps to Start Express Server\nFrom terminal, cd into ``` /api ``` directory.\n\nStart MongoDB container:\n```\ndocker-compose up\n```\nOR\n```\ndocker compose up\n```\n\nInstall dependencies\n```\nnpm install\n```\n\nStart server\n```\nnpm start\n```\n\nIf the server has started successfully, you should be able to navigate to http://localhost:8080 and see this:\n\n``` {\"message\":\"Simple API built with Express, Apollo GraphQL, and MongoDB.\"} ```\n\nTo populate test data, navigate to http://localhost:8080/graphql to use the GraphiQL tool. \n\nRun this query with any name and age on the fourth and fifth line below:\n```\nmutation create {\n  createUser(\n    newUserInput: {\n      name: \"BOB SMITH\"\n      age: 30\n    }\n  ) {\n    id\n    name\n    age\n    createdAt\n    updatedAt\n  }\n}\n```\n\nTo view all data using the GraphiQL tool, run:\n```\nquery usersQuery {\n  getAllUsers {\n    id\n    name\n    age\n    createdAt\n    updatedAt\n  }\n}\n```\n\nTo find a user by ID using the GraphiQL tool, run:\n```\nquery getUserByIDQuery {\n  getUserById(id: \"62755d38ac344afc0af874c7\") {\n  \tid\n    name\n    age\n    createdAt\n    updatedAt\n  }\n}\n```\n\nTo delete a user by ID using the GraphiQL tool, run:\n```\nmutation deleteMutation {\n  deleteUser(id: \"62755d38ac344afc0af874c7\")\n}\n```\n\nTo update a user by ID using the GraphiQL tool, run:\n```\nmutation updateQuery {\n  updateUser(\n    editUserInput: {\n        id: \"62755d9c711f1dfdee0edd06\"\n        name: \"NEW NAME\"\n        age: 51\n      }\n  ) {\n    id\n    name\n    age\n    createdAt\n    updatedAt\n  }\n}\n```\n\n## Steps to Start React App\nFrom terminal, cd into ``` /client ``` directory.\n\nInstall dependencies\n```\nnpm install\n```\n\nStart app\n```\nnpm start\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftony-tvu%2Fsimple-express-react-graphql-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftony-tvu%2Fsimple-express-react-graphql-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftony-tvu%2Fsimple-express-react-graphql-template/lists"}