{"id":15547538,"url":"https://github.com/stefanfreitag/fullstack_graphql","last_synced_at":"2026-01-19T06:32:20.681Z","repository":{"id":48470555,"uuid":"137838749","full_name":"stefanfreitag/fullstack_graphql","owner":"stefanfreitag","description":"Demo application for GraphQL (MongoDB/ Angular)","archived":false,"fork":false,"pushed_at":"2021-07-24T07:28:28.000Z","size":1128,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-23T02:16:05.642Z","etag":null,"topics":["angular","backend","demo","frontend","graphql"],"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/stefanfreitag.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":"2018-06-19T04:10:33.000Z","updated_at":"2020-08-20T16:53:54.000Z","dependencies_parsed_at":"2022-09-04T23:14:27.992Z","dependency_job_id":null,"html_url":"https://github.com/stefanfreitag/fullstack_graphql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stefanfreitag/fullstack_graphql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanfreitag%2Ffullstack_graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanfreitag%2Ffullstack_graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanfreitag%2Ffullstack_graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanfreitag%2Ffullstack_graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefanfreitag","download_url":"https://codeload.github.com/stefanfreitag/fullstack_graphql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanfreitag%2Ffullstack_graphql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28562405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["angular","backend","demo","frontend","graphql"],"created_at":"2024-10-02T13:09:35.571Z","updated_at":"2026-01-19T06:32:20.666Z","avatar_url":"https://github.com/stefanfreitag.png","language":"TypeScript","readme":"# GraphQL full stack example\nBased on the [Udemy](https://www.udemy.com/) course [GraphQL with Angular \u0026 Apollo - The Full-stack Guide\n](https://www.udemy.com/graphql-angular-apollo-full-stack/)\n\n\n## Frontend\nThe frontend is written in Typescript.After cloning the repository do an\n\n```bash\n$ npm install\n```\n\nto resolve all required dependencies. To execute the application run\n\n```bash\n$ ng serve\n```\nOpen a browser and go to http://localhost:4200/. \n## Backend\nThe backend is written in Javascript. After cloning the repository do an\n\n```bash\n$ npm install\n```\n\nto resolve all required dependencies. To execute the application run\n\n```bash\n$ npm run dev\n```\nThe expected output after start of the application is\n```\n\u003e backend@1.0.0 dev /home/stefan/fullstack_graphql/backend\n\u003e babel-watch server.js\n\nExpress server running on port 4000\n```\n\nYou can open the URL  http://localhost:4000/graphiql in the browser to access\nthe GraphiQL UI. It can be used to query/ modify data. To e.g. retrieve the ids\nof all known courses\n\n```\nquery AllCourses {\n  allCourses(searchTerm: \"\") {\n    id\n  }\n}\n```\n\n### Database \nThe course data is persisted in a [MongoDB](https://www.mongodb.com/) instance. \n\nDocker is used to make the instance available. The official MongoDB image is pulled \nfrom the [Docker hub](https://hub.docker.com/).\n\n```bash\ndocker pull mongo\n```\n\nWhen creating an instance from the image, we forward the container port 27017\n(MongoDB default port) to 27017 on localhost. At the same time a volume is attached\nto the instance - it serves as persistent data store.\n```\ndocker run -d -p 27017:27017 -v ~/data:/data/db mongo  \n```\n\n## FAQ\n\n### MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017]\nThe backend connects per default to a MongoDB running on localhost. Please ensure\nthat the MongoDB is up and running. The start order of the three componentes is\n* MongoDB instance\n* Javascript backend\n* Angular frontend","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanfreitag%2Ffullstack_graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefanfreitag%2Ffullstack_graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanfreitag%2Ffullstack_graphql/lists"}