{"id":18665773,"url":"https://github.com/emilhein/serverless-graphql","last_synced_at":"2026-05-10T03:48:08.010Z","repository":{"id":44839007,"uuid":"204742089","full_name":"emilhein/serverless-graphql","owner":"emilhein","description":"A starter project for Graphql made with serverless framework","archived":false,"fork":false,"pushed_at":"2023-01-09T22:24:48.000Z","size":361,"stargazers_count":1,"open_issues_count":16,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T20:55:09.792Z","etag":null,"topics":["graphql","nodejs","serverless-framework","serverless-graphql"],"latest_commit_sha":null,"homepage":"https://w7lo1gta9h.execute-api.eu-west-1.amazonaws.com/dev/graphql","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/emilhein.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":"2019-08-27T16:15:08.000Z","updated_at":"2021-04-04T16:47:38.000Z","dependencies_parsed_at":"2023-02-08T15:01:34.266Z","dependency_job_id":null,"html_url":"https://github.com/emilhein/serverless-graphql","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/emilhein%2Fserverless-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilhein%2Fserverless-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilhein%2Fserverless-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilhein%2Fserverless-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emilhein","download_url":"https://codeload.github.com/emilhein/serverless-graphql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239493706,"owners_count":19647995,"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":["graphql","nodejs","serverless-framework","serverless-graphql"],"created_at":"2024-11-07T08:29:02.932Z","updated_at":"2025-11-06T11:30:39.857Z","avatar_url":"https://github.com/emilhein.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"##### Demo: https://w7lo1gta9h.execute-api.eu-west-1.amazonaws.com/dev/graphql\n\n[![Build Status](https://travis-ci.org/emilhein/serverless-graphql.svg?branch=master)](https://travis-ci.org/emilhein/serverless-graphql)\n\n## Get started\n\nThis project uses the serverless framework and you should therefore install this globally (and setup credentials if you wish to deploy the project)\n\nCreate a file called \".env\" in the root of the project and populate it with the following:\n\n```\nJWT_SECRET=SOME_RANDOM_SECRET\n```\n\nTo run a local server do the following:\n\n```js\nnpm install\nnpm run dev\n```\n\n## Examples:\n\n```js\nquery {  movies {\n    title\n    year\n    rating\n    actors {\n      name\n      birthday\n      country\n      directors {\n        name\n        birthday\n        country\n      }\n    }\n  }\n}\n\n### NOTE\nIn other to use the `scoutbase_rating` field you must include a header called \"Authorization\" with a valid jwt token (\"Bearer XXXXX\"), that you can recieve by calling the mutations \"login\" or \"createUser\"\nquery {\n  movies {\n    scoutbase_rating\n    title\n    rating\n    actors {\n      name\n      directors {\n        country\n      }\n    }\n  }\n}\n\n\n\nmutation {\n  createUser(username: \"user\", password: \"pass\") {\n    token\n    user {\n      id\n      name\n    }\n  }\n}\n\nmutation {\n  login(username: \"user\", password: \"pass\") {\n    token\n    user {\n      id\n      name\n    }\n  }\n}\n\nmutation {\n  addMovie(input: {title: \"Superman\", year: 2019, rating: \"2\"}) {\n    title\n  }\n}\n\n\n```\n\n## Deployment\n\n```\nnpm run deploy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilhein%2Fserverless-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femilhein%2Fserverless-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilhein%2Fserverless-graphql/lists"}