Created
December 23, 2022 16:30
-
-
Save Shadid12/efc32b1f5a8050600af173f72d1a3a93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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