Local headless

Hi,

Is it possible to use a headless local WP for local development?

Hi @SRD - Yes we have an add on for that. More information here:

1 Like

Hey Nick,

Yeah, I’ve heard of Atlas, it sounds neat.

What I was hoping was for a local (to your computer) way to use a headless setup for WordPress (as part of LocalWP).

@SRD The Atlas add-on Nick linked to does what you ask — it runs a headless setup locally. It starts a Node.js/Next server for the frontend and configures WP to talk to that. There’s no dependency on WP Engine’s hosted headless infrastructure.

If you don’t want to use that, though, you could alternatively run a local frontend server yourself and configure it to talk to a WordPress site running in Local manually. The WP site’s backend will be accessible locally, so you can use the WP REST API or WPGraphQL with Local and your frontend.

2 Likes