All Projects → Plazide → fauna-gql-upload

Plazide / fauna-gql-upload

Licence: MIT-0 license
A tool for managing your FaunaDB database using files. Create resources such as functions by simply creating a new file.

Programming Languages

typescript
32286 projects
CSS
56736 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to fauna-gql-upload

faunadb-csharp
C# driver for FaunaDB
Stars: ✭ 55 (+22.22%)
Mutual labels:  faunadb, fauna
use-fauna
React hooks for interacting with Fauna databases
Stars: ✭ 44 (-2.22%)
Mutual labels:  faunadb, fauna
fauna-workers
A template for building fast, globally distributed applications using Cloudflare Workers and Fauna, the data API for modern applications.
Stars: ✭ 35 (-22.22%)
Mutual labels:  faunadb, fauna
faunadb-fql-lib
No description or website provided.
Stars: ✭ 83 (+84.44%)
Mutual labels:  fql, faunadb
fauna-gatsby-comments
Roll your own comments with Gatsby and FaunaDB 🗞️
Stars: ✭ 29 (-35.56%)
Mutual labels:  faunadb, fauna
shopnote
shopnote is a JAMstack application that helps in creating notes with shopping items. This application is built to showcase the JAMstack concept using Fauna, Netlify Serverless Functions and GatsbyJS.
Stars: ✭ 15 (-66.67%)
Mutual labels:  faunadb, fauna
next-fauna-auth
Implemented cookie-based user authentication in a Next.js, FaunaDB and GraphQL app
Stars: ✭ 29 (-35.56%)
Mutual labels:  fql, faunadb
faunadb-ruby
Ruby driver for FaunaDB
Stars: ✭ 37 (-17.78%)
Mutual labels:  faunadb, fauna
coderplex-org
Official Website for Coderplex Community. Built with Next.js and deployed on Vercel.
Stars: ✭ 32 (-28.89%)
Mutual labels:  faunadb, fauna
graphql-compose-elasticsearch
Graphql App using Node with typescript, KOA framework and Elasticsearch
Stars: ✭ 40 (-11.11%)
Mutual labels:  graphql-schema
azure-devops-terraform
Recipe to deploy Azure Infrastructure with Terraform via Azure DevOps
Stars: ✭ 18 (-60%)
Mutual labels:  iac
prancer-compliance-test
This repository includes cloud security policies for IaC and live resources.
Stars: ✭ 32 (-28.89%)
Mutual labels:  iac
terraform-provider-sonarqube
Terraform provider for managing Sonarqube configuration
Stars: ✭ 26 (-42.22%)
Mutual labels:  iac
graphql-spotify
GraphQL Schema And Resolvers For Spotify Web API
Stars: ✭ 55 (+22.22%)
Mutual labels:  graphql-schema
kobby
Kobby is a codegen plugin of Kotlin DSL Client by GraphQL schema. The generated DSL supports execution of complex GraphQL queries, mutation and subscriptions in Kotlin with syntax similar to native GraphQL syntax.
Stars: ✭ 52 (+15.56%)
Mutual labels:  graphql-schema
graphql-markdown
Flexible GraphQL Documentation Generator (Markdown)
Stars: ✭ 74 (+64.44%)
Mutual labels:  graphql-schema
terraform-modules
Terraform Modules by Peak
Stars: ✭ 16 (-64.44%)
Mutual labels:  iac
viya4-iac-azure
This project contains Terraform configuration files to provision infrastructure components required to deploy SAS Viya 4+ VA/VS/VDMML products on Microsoft Azure Cloud.
Stars: ✭ 60 (+33.33%)
Mutual labels:  iac
react-apollo-client-testing-example
A React with Apollo Client application with a mocked GraphQL server and tested Query and Mutation components.
Stars: ✭ 17 (-62.22%)
Mutual labels:  graphql-schema
virtual-lolly
JAMstack demo site - prerendered with serverless API fallbacks
Stars: ✭ 110 (+144.44%)
Mutual labels:  faunadb

Important note: The minimum supported node version is v12.10.0

Fauna GQL Upload

Fauna GQL Upload is a simple CLI to update your FaunaDB 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.

Read the documentation to get started!

Table of contents

Main features

  • 🗄️ Store all your User-defined functions, roles, indexes, and domain data within your project.
  • 📜 Update your schema and other resources without leaving your editor.
  • 🔃 Easily replicate FaunaDB resources across databases and accounts.
  • 📑 Include FaunaDB resources in version control and source code.
  • ✔️ Typescript support.
  • 🔥 GraphQL codegen (using GraphQL codegen).

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.

Installation

To install, run:

npm install --save-dev faunadb fauna-gql-upload

or with yarn:

yarn add -D faunadb fauna-gql-upload

Documentation

To view the documentation, visit the new documentation site.

Migrating to v2.0.0

Version 2.0.0 hasn't introduced too many breaking changes, so migration should be fairly simple. Here are the changes that might cause issues.

No more global installs

Fauna 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 in the documentation.

You need a local installation of faunadb

It 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.

You might need faunadb@>=4.0.0

It 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@>=4.0.0 since that's when the AccessProvider and CreateAccessProvider functions were added.

The version of faunadb specified in peerDependencies is >=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.

Changing the secret environment variable

The default environment variable for your FaunaDB admin key used to be FAUNADB_SECRET. This has now changed to FGU_SECRET.

If you have previously used the default environment variable you now need to either:

  • Rename FAUNADB_SECRET to FGU_SECRET in your environment file
  • Or set the secretEnv property in .fauna.json to FAUNADB_SECRET
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].