{"id":13489284,"url":"https://github.com/chj-web/fauna-gql-upload","last_synced_at":"2026-04-02T17:11:05.590Z","repository":{"id":37042075,"uuid":"251624736","full_name":"chj-web/fauna-gql-upload","owner":"chj-web","description":"A tool for managing your FaunaDB database using files. Create resources such as functions by simply creating a new file.","archived":false,"fork":false,"pushed_at":"2023-01-27T03:39:07.000Z","size":2251,"stargazers_count":55,"open_issues_count":14,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-27T18:38:57.516Z","etag":null,"topics":["database","fauna","fauna-gql-upload","faunadb","faunadb-resources","fql","graphql","graphql-schema","iac","javascript","nodejs","serverless","typescript"],"latest_commit_sha":null,"homepage":"https://fgu-docs.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chj-web.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-31T14:17:42.000Z","updated_at":"2025-02-14T22:01:04.000Z","dependencies_parsed_at":"2023-02-15T04:46:00.670Z","dependency_job_id":null,"html_url":"https://github.com/chj-web/fauna-gql-upload","commit_stats":null,"previous_names":["chj-web/fauna-gql-upload","plazide/fauna-gql-upload"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/chj-web/fauna-gql-upload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chj-web%2Ffauna-gql-upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chj-web%2Ffauna-gql-upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chj-web%2Ffauna-gql-upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chj-web%2Ffauna-gql-upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chj-web","download_url":"https://codeload.github.com/chj-web/fauna-gql-upload/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chj-web%2Ffauna-gql-upload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31311266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["database","fauna","fauna-gql-upload","faunadb","faunadb-resources","fql","graphql","graphql-schema","iac","javascript","nodejs","serverless","typescript"],"created_at":"2024-07-31T19:00:21.842Z","updated_at":"2026-04-02T17:11:05.571Z","avatar_url":"https://github.com/chj-web.png","language":"TypeScript","funding_links":[],"categories":["Tools"],"sub_categories":["GraphQL tools"],"readme":"\u003e **Important note:** The minimum supported node version is v12.10.0 \n\n# Fauna GQL Upload\nFauna GQL Upload is a simple CLI to update your [FaunaDB](https://fauna.com) database's GraphQL schema, resolver functions, indexes, and database roles without going to the FaunaDB dashboard. It uses the `https://graphql.fauna.com/import` endpoint to update the schema from a file within your project, and the FQL driver for JavaScript to update/create functions, roles, and indexes.\n\nRead the [documentation](https://fgu-docs.com) to get started!\n\n## Table of contents\n- [Fauna GQL Upload](#fauna-gql-upload)\n\t- [Table of contents](#table-of-contents)\n\t- [Main features](#main-features)\n\t- [Installation](#installation)\n\t- [Documentation](#documentation)\n\t- [Migrating to v2.0.0](#migrating-to-v200)\n\t\t- [No more global installs](#no-more-global-installs)\n\t\t- [You need a local installation of `faunadb`](#you-need-a-local-installation-of-faunadb)\n\t\t- [You might need `faunadb@\u003e=4.0.0`](#you-might-need-faunadb400)\n\t\t- [Changing the secret environment variable](#changing-the-secret-environment-variable)\n\n## Main features\n- 🗄️ Store all your User-defined functions, roles, indexes, and domain data within your project.\n- 📜 Update your schema and other resources without leaving your editor.\n- 🔃 Easily replicate FaunaDB resources across databases and accounts.\n- 📑 Include FaunaDB resources in version control and source code.\n- ✔️ Typescript support.\n- 🔥 GraphQL codegen (using [GraphQL codegen](https://graphql-code-generator.com/)).\n\n\u003e **NOTE:** If you want to use this package with typescript, you do **not** need to build the resources manually. As of version 1.9.0, type-checking and typescript compilation is handled automatically without extra configuration. Read more about [typescript support](#typescript).\n\n## Installation\n\nTo install, run:\n\n```sh\nnpm install --save-dev faunadb fauna-gql-upload\n```\n\nor with yarn:\n\n```sh\nyarn add -D faunadb fauna-gql-upload\n```\n\n## Documentation\n\nTo view the documentation, visit the new [documentation site](https://fgu-docs.com).\n\n## Migrating to v2.0.0\nVersion `2.0.0` hasn't introduced too many breaking changes, so migration should be fairly simple. Here are the changes that might cause issues.\n\n### No more global installs\nFauna GQL Upload previously supported global installation to be used as a CLI. Support for global installations has been removed. If you have a previous global installation, I suggest removing that from your system. To continue using the package, you'll simply have to follow the [getting started section](https://fgu-docs.com/getting-started) in the documentation.\n\n### You need a local installation of `faunadb`\nIt was previously possible to use Fauna GQL Upload without a local `faunadb` installation. This is no longer possible, the package now relies solely on the `faunadb` version that you install.\n\n### You might need `faunadb@\u003e=4.0.0`\nIt is still possible to upload resources with versions before `4.0.0`, but if you are configuring access providers in your project, you will have to use `faunadb@\u003e=4.0.0` since that's when the `AccessProvider` and `CreateAccessProvider` functions were added.\n\nThe version of `faunadb` specified in `peerDependencies` is `\u003e=4.0.0`, but if you won't be using access providers you should still be able to install older versions. You'll just have to ignore the \"incorrect peer depencency\" warnings.\n\n### Changing the secret environment variable\nThe default environment variable for your FaunaDB admin key used to be `FAUNADB_SECRET`. This has now changed to `FGU_SECRET`.\n\nIf you have previously used the default environment variable you now need to either:\n\n- Rename `FAUNADB_SECRET` to `FGU_SECRET` in your environment file\n- Or set the `secretEnv` property in `.fauna.json` to `FAUNADB_SECRET` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchj-web%2Ffauna-gql-upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchj-web%2Ffauna-gql-upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchj-web%2Ffauna-gql-upload/lists"}