Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WhitestormJS/WordExpress-Server

Repository files navigation

WordExpress-Server

An express GraphQL server that connects to a WordPress database

WordExpress-Server is an express server that uses WordExpressSchema to provide you with a GraphQL endpoint that your client application can use to query a WordPress database. All you need to do is provide connection details to your WordPress database (see below). Refer to the WordExpress documentation for more information.

Setup

$ npm install

Using the /config/sample-config.json as a template, create a development.json and production.json config file. These files will contain the connection details to your development and production WordPress databases, respectively.

Extending the Schema

This repo currently has a few examples of how you can extend the WordExpressSchema to provide custom queries and resolvers. These examples are in the /extensions directory.

About

An express GraphQL server that connects to a WordPress database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%

AltStyle によって変換されたページ (->オリジナル) /