{"id":18412831,"url":"https://github.com/rproenza86/simplerestapi-graphql-client","last_synced_at":"2025-04-12T23:47:30.680Z","repository":{"id":37853419,"uuid":"363926803","full_name":"rproenza86/simplerestapi-graphql-client","owner":"rproenza86","description":"GraphQL server project built using Apollo Server and ExpressJS.","archived":false,"fork":false,"pushed_at":"2023-01-25T17:14:07.000Z","size":310,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T05:44:11.546Z","etag":null,"topics":["apollo-server","expressjs","graphql","integration-testing","jest","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/rproenza86.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":"2021-05-03T12:45:33.000Z","updated_at":"2021-05-06T13:19:15.000Z","dependencies_parsed_at":"2023-02-14T09:40:15.639Z","dependency_job_id":null,"html_url":"https://github.com/rproenza86/simplerestapi-graphql-client","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/rproenza86%2Fsimplerestapi-graphql-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rproenza86%2Fsimplerestapi-graphql-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rproenza86%2Fsimplerestapi-graphql-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rproenza86%2Fsimplerestapi-graphql-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rproenza86","download_url":"https://codeload.github.com/rproenza86/simplerestapi-graphql-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647256,"owners_count":21139081,"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":["apollo-server","expressjs","graphql","integration-testing","jest","unit-testing"],"created_at":"2024-11-06T03:43:43.230Z","updated_at":"2025-04-12T23:47:30.663Z","avatar_url":"https://github.com/rproenza86.png","language":"JavaScript","readme":"# simplerestapi-graphql-client\n\n\u003e GraphQL Workshop\n\nThis is service app to create a basic GraphQL server.\n\n## Description\n\nGraphQL server project built using Apollo Server and ExpressJS.\n\nThe service is using directives to enable security by checking user auth. Two data sources were created to support CRUDs ops.\n\nThe app is an orchestration of :\n\n1. apollo-server\n2. express\n3. graphql\n4. SimpleREST.com API\n\n## API Requirements\n\n1. Consumers of the service should be able of use the serve endpoint to:\n\n    - Execute mutation to increment a property favorite counter by 1.\n    - Fetching properties data from the SimplyRETS API and for each result, inject the “favorite counter” from MongoDB.\n        - We should be able to filter properties by city.\n\nExample:\nquery {\nproperties(city: \"San Francisco\") {\nlistingId\nfavoriteCount // coming from MongoDB, everything else comes from SimplyRETS\nlistPrice\nproperty {\narea\nbedrooms\n}\naddress\ndisclaimer\n}\n}\n\n2. Unit tests and/or integration tests support\n    \u003e Added one test suite of each type. Added also un-implemented test cases to show other scenarios that need to be tested.\n\n## How to Test\n\nUse the [Insomnia requests collection](docs/serviceRequestsCollection/Insomnia_SimpleREST.json) exported on the `docs` directory\nto test the service running locally.\n\n### Tests setup\n\n1. With latest Node LTS installed, run the following commands in order:\n\n```sh\nnpm ci\nnpm run start:db\nnpm run start:app\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frproenza86%2Fsimplerestapi-graphql-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frproenza86%2Fsimplerestapi-graphql-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frproenza86%2Fsimplerestapi-graphql-client/lists"}