node.js serve a wordpress blog

Viewed 12212

I am using node.js on my rackspace server to serve my various applications. (Using node-http-proxy).

However, i would like to start a wordpress blog. The only way to serve the blog is via apache (or nginx).

Is there a way to server my wordpress blog from a node.js application itself?

6 Answers

WordPress now has an "official" (to be precise: open source, under Automattic's github repo) way to do this: wpcom.js. From that github page:

Official JavaScript library for the WordPress.com REST API. Compatible with Node.js and web browsers.

The essence is to call the WordPress REST API from JS.

Related