Install mono-repo dependencies
npm install
Install Gatsby frontend dependencies
cd frontend && npm install
Install Strapi backend dependencies
cd backend && npm install
Start split-process development environment
npm run develop
Start frontend development server
npm run develop:frontend
Frontend app can be accessed locally from:
http://localhost:8000
Start backend development server
npm run develop:backend
Backend CMS admin dashboard can be accessed locally from:
http://localhost:8001/dashboard
Backend GraphiQL interface can be accessed locally from:
http://localhost:8001/graphql
Build staging container
npm run build:staging
Run staging environment
npm run staging
Stop Docker container
npm run docker:down
Access frontend staging app from:
http://<docker-machine-ip>:8080/
Access backend staging cms from:
http://<docker-machine-ip>:8081/admin
GatsbyJS - Blazing fast modern site generator for React. Go beyond static sites: build blogs, e-commerce sites, full-blown apps, and more with Gatsby.
Strapi - The next-gen headless CMS, open-source, javascript, enabling content-rich experiences to be created, managed and exposed to any digital device.
Apollo GraphQL - Simplify app development by combining APIs, databases, and microservices into a single data graph that you can query with GraphQL