Skip to content
No description, website, or topics provided.
JavaScript CSS Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
plugins/gatsby-source-movies
server
src
.gitignore
.nvmrc
.prettierignore
.prettierrc
LICENSE
README.md
gatsby-browser.js
gatsby-config.js
gatsby-node.js
gatsby-ssr.js
package-lock.json
package.json

README.md

Gatsby

Mediacurrent Gatsby Mentorship

Install Client

  • nvm use
  • npm install

Run Client

  • npm run start
  • Visit http://localhost:8000 to see site
  • Visit http://localhost:8000/__graphql to see GraphQL interface

Runtime GraphQL Server

To experiment with also making run time queries (see /src/templates/movie.js)

  • cd server
  • npm install
  • npm start

The server will then be available locally (this is configured on the client in gatsby-browser.js and gatsby-ssr.js). Using Apollo to interact at runtime.

Build

To build production site:

  • npm run build

Then use deployment tool of your choice. (Note: runtime queries won't work on prod build because that GraphQL server is local)

You can’t perform that action at this time.