Skip to content

Instantly share code, notes, and snippets.

@Shadid12
Created December 23, 2022 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shadid12/efc32b1f5a8050600af173f72d1a3a93 to your computer and use it in GitHub Desktop.
Save Shadid12/efc32b1f5a8050600af173f72d1a3a93 to your computer and use it in GitHub Desktop.
import * as faunadb from "faunadb";
export const q = faunadb.query as any;
export const faunaClient = new faunadb.Client({
domain: process.env.FAUNA_DOMAIN,
secret: process.env.FAUNA_SECRET as string,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment