Experiment with combining headless WordPress with Next.js as frontend
We need Docker to run the WordPress instance.
- Run Docker Compose in the main directory
docker-compose up
-
Configure WordPress - just go through the setup, choose language etc.
-
Change permalink settings (to avoid issue with REST API)
-
Get Postman - https://www.postman.com/downloads/
-
Import Postman collection from
postman-collection
-
Add variable to collection - site:http://localhost:8000