Skip to content

mongodb-developer/angular-realm-graphql

Repository files navigation

Angular and GraphQL API Demo — Movie Catalog

This is an app that demonstrates how to use Angular and the Atlas GraphQL API.

You can also take a look at the supporting Google Slides presentation: Practical Introduction to GraphQL.

Register for MongoDB Atlas and create a forever-free cluster!

Usage

Update the src/environments/environment.ts file with your own keys:

export const environment = {
  production: false,
  APP_ID: '<your-app-id>',
  GRAPHQL_URI: '<your-graphql-uri>',
  API_KEY: '<your-api-key>',
};

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Disclaimer

Use at your own risk; not a supported MongoDB product