A simple example of how to build a JavaScript frontend that is powered by the WordPress API.
MIT License
A simple example of how to build a JavaScript frontend that is powered by the WordPress API.
The following features and technologies are covered in this example:
You have to run all of these commands from the wordpress-api-example
folder.
.env
file for the API (and edit the values):cp api/.env.example api/.env
composer install -d api
docker-compose up -d
You can stop the application by running docker-compose stop
.