Skip to content

Alphy11/react-apollo-starter-kit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Scaphold.io's React Apollo boilerplate

Fork this boilerplate code to get started with GraphQL, React, and Apollo.

Quickstart:

  1. Go to Scaphold.io (https://scaphold.io).

  2. Create an account and dataset.

  3. Change the URL in the API manager (config.js) in the boilerplate to point to your unique Scaphold.io API URL.

  4. Install dependencies: npm install

  5. Run with: npm start

Deployment:

Note: For development, you only need to run npm start

Run npm run deploy.

This will run two scripts automatically:

  1. npm run build to transpile ES6 code from the src/ directory to JavaScript in the lib/ directory.

  2. npm run wp to set the environment variable process.env.NODE_ENV = 'production', allow webpack to build your code from lib/, and save it to the build/ directory.

About

Scaphold.io's Starter Kit for building React-Apollo apps https://scaphold.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.7%
  • HTML 3.3%