hemel-cse / nextjs-wordpress

Built with Next.js and Express

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Full Stack Headless WordPress

This is a prototype for a custom headless CMS using React, Next, Express and Apollo.

Libraries used

Smaller packages

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.

About

Built with Next.js and Express


Languages

Language:JavaScript 58.9%Language:CSS 41.1%