{"id":25650693,"url":"https://github.com/flow-build/graphql-lambdas-template","last_synced_at":"2026-07-15T14:32:48.598Z","repository":{"id":171458688,"uuid":"647855370","full_name":"flow-build/graphql-lambdas-template","owner":"flow-build","description":"Monorepo template for serverless Typescript \u0026 Postgres","archived":false,"fork":false,"pushed_at":"2023-05-31T22:12:36.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-25T14:44:30.377Z","etag":null,"topics":["lambda-functions","serverless","turboless","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/flow-build.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-31T17:03:01.000Z","updated_at":"2023-05-31T22:16:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba9b7ae3-8f2e-4447-b95f-3f974fb08843","html_url":"https://github.com/flow-build/graphql-lambdas-template","commit_stats":null,"previous_names":["flow-build/graphql-lambdas-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/flow-build/graphql-lambdas-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flow-build%2Fgraphql-lambdas-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flow-build%2Fgraphql-lambdas-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flow-build%2Fgraphql-lambdas-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flow-build%2Fgraphql-lambdas-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flow-build","download_url":"https://codeload.github.com/flow-build/graphql-lambdas-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flow-build%2Fgraphql-lambdas-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35509494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-15T02:00:06.706Z","response_time":131,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["lambda-functions","serverless","turboless","typescript"],"created_at":"2025-02-23T15:17:49.283Z","updated_at":"2026-07-15T14:32:48.592Z","avatar_url":"https://github.com/flow-build.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL Server Boilerplate\n\n[![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com)\n\nBased upon [turboless](https://github.com/antoinewg/turboless)\n\nThe repositories contains 2 lambda functions:\n\n- Apollo: a simple hello world graphql server with no outside connection.\n- Artemis: a graphql server that connects to a postgres database.\n\nBoth repositories shares a commom ts and eslint configuration from packages folder.\nArtemis uses a knex configuration also available on the packages folder.\n\n### Quick start (not so much)\n\nCreate and env file with the following variables:\n\n- POSTGRES_HOST\n- POSTGRES_USER\n- POSTGRES_PASSWORD\n- POSTGRES_DB\n\nCheck the `docker-compose.yml` file for the default values for local running.\n\nStart the database with `docker-compose up -d postgres`.\nCreate the tables and seeds with `npm run migrations` and `npm run seeds`.\n\nRun `npm run dev` to run locally the lambdas.\n\nCall\n\n```\ncurl --location 'http://localhost:3001/dev/hello' \\\n--header 'x-apollo-operation-name: any' \\\n--header 'Content-Type: application/json' \\\n--data '{\"query\":\"query any {\\n    hello {\\n        message\\n    }\\n}\",\"variables\":{}}'\n```\n\nand\n\n```\ncurl --location 'http://localhost:3002/dev/hello' \\\n--header 'x-apollo-operation-name: any' \\\n--header 'Content-Type: application/json' \\\n--data '{\"query\":\"query any {\\n    hello {\\n        id\\n        name\\n        field\\n        created_at\\n        updated_at\\n    }\\n}\",\"variables\":{}}'\n```\n\n### Scripts\n\nEach app has the basic scripts:\n\n- build: build the js files\n- lint\n- lint:fix\n- package: build the packages for serverless deployment\n- dev: run the lambdas locally\n- deploy: deploy the lambdas to aws\n\nOn the root folder you can run `npm run \u003cscript\u003e` to run the script on all apps.\nYou can run a single script on a single app with `npm run \u003cscript\u003e -w apps/\u003capp\u003e`.\n\nFor example, you can run `npm run lint` and see an `any` warning on Artemis.\n\n### Contributing\n\nFeel free to open a PR, file an issue. We'll happily look into it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflow-build%2Fgraphql-lambdas-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflow-build%2Fgraphql-lambdas-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflow-build%2Fgraphql-lambdas-template/lists"}