MaBeuLux88 / mongodb-stitch-movie-collection

Simple MongoDB Stitch examples for demos
9 stars 3 forks source link

MongoDB Stitch - Movie Collection Demo

What is this app doing?

This application provides several ways to save a movie title into your MongoDB Atlas cluster using MongoDB Stitch.

Google configuration

Once we have our movie saved in our collection, a trigger is used to enrich our document automatically with data from the OMDB API.

Then another trigger detects the movie ratings so we calculate stats when a movie is updated or deleted.

Google configuration

Deploy the Stitch App

export STITCH_USERNAME="<your Atlas login email>"
export STITCH_API_KEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXX"
export STITCH_APPID="myproject-abcde"

Trouble with Google Credentials to make the website work?

It should look like this.

Google configuration

Ideas & support