Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.motion
bin
mutations
routes
views
.gitignore
README.md
ReindexSchema.json
decorator.js
main.js

README.md

motion-gallery

Instagram clone with Motion, Relay and Reindex.

Fork and clone the repository.

Install Motion and Reindex

npm install -g motion reindex-cli

Create file Config.js

const Config = {
  REINDEX_URL: 'https://YOUR-REINDEX-APP.myreindex.com',
  UPLOADCARE_PUBLIC_KEY: 'YOUR_UPLOADCARE_PUBLIC_KEY'
}

export default Config;

Login to Reindex

reindex login

Push Reindex schema in ReindexSchema.json. Also fetch Relay schema (saved as ./.flint/RelaySchema.json).

bin/reindex schema-push
bin/schema-relay

Run and open on localhost:3000

motion

Play with GraphiQL

reindex graphiql

Note that authentication will work only once you enable authentication providers inside your Reindex console.