examples/with-realm-web/README.md
This example uses Realm-Web SDK to query a realm graphql endpoint using swr.
This example relies on MongoDB Realm for its GraphQL backend.
Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-realm-web with-realm-web-app
yarn create next-app --example with-realm-web with-realm-web-app
pnpm create next-app --example with-realm-web with-realm-web-app
Deploy it to the cloud with Vercel (Documentation).
To set up your app:
sample_mflix.movies collection. For this
demo, you can assign ready only permissions for all authenticated users.sample_mflix.movies collection.
Add a root-level "title" field to the schema with the value set to "movie"..env file with your App ID