This is a simple (trivial) React-Native app to demonstrate how to use the MongoDB Stitch React-Native SDK.
MongoDB Stitch is the serverless platformm from MongoDB.
To create the Stitch app, use the MongoDB Stitch CLI to import the app contained in the StitchApp
folder after making the following changes:
- Edit the value of
appId
institch.json
; replacing greeting-xxxxx with the value for your Stitch app (find in the Clients tab in the Stitch console after creating your MongoDB Stitch app). - Edit the value of
clusterName
inservices/mongodb-atlas/config.json
(get this from the MongoDB Atlas UI).
Before running the ReactNative app, replace greeting-xxxx
in src/App.js
.