#Full Stack Headless WordPress
This is a prototype for a custom headless CMS using React, Next, Express and Apollo.
Libraries used
Smaller packages
- Next Sass
- Next Images
- Next nprogress
- Next Page Transitions
- Next with Apollo
- Apollo Boost
- Styled Components
Structure
.
├── components
| ├── footer
| └── header
├── hoc
├── pages
├── sass
| └── layout
└── server
└── datasources
Installation
Next.js Application
Install the Next.js application with its Express server using
npm install
Run the Next.js application using
npm run dev
Apollo Server
Install the Apollo server using
cd server && npm install
Run the Apollo server using
node index.js
The server is online available at https://raconteur-agency-graphql.jakeherp.now.sh/
Deploy server to Zeit Now using the now
command. The deployment can be customised in the /server/now.json
file.