We finish off our GraphQL API by creating database, collections, and indexes in FaunaDB. We show how to explore calling out to Fauna using the JavaScript driver before showing how to integrate our queries with our GraphQL resolvers.
I am getting CORS issue which is not getting resolved even after putting this snippet
exports.handler = server.createHandler({ cors: { origin: "*", credentials: true } });
exports.handler = server.createHandler({ cors: { origin: "*", credentials: true } });