Instagram Example

Here’s a video walkthrough of the code for the example-instagram package.

Note: Code Changes

Unlike the video, the actual package now relies on default resolvers and default mutations to simplify the code, meaning the resolvers.js and mutations.js files were removed.

Also, resolvers for the userId and commentsCount fields are now specified directly in the schema instead of in the resolvers.js file.

Image Upload

This example uses the vulcan:forms-upload package, which uploads images to Cloudinary.

Edit on GitHub