Skip to content

Fokke-/pw-json-api

Repository files navigation

ProcessWire JSON API

Structured APIs for ProcessWire, without the boilerplate.

Click here for documentation.

Ask DeepWiki

For AI-assisted development, see llms-full.txt.

Tests

DDEV (>= 1.25.1) must be installed in order to run tests. See https://ddev.readthedocs.io/en/stable/users/install/ddev-installation/

Running this command starts the container, imports the database and runs the tests. The container will keep running after the tests are complete.

composer run test

Stop the container

ddev stop

Admin panel of the test environment

The admin panel can be accessed at https://pw-json-api.ddev.site.

  • User: testuser
  • Pass: testuser

Exporting database

# While the container is running
composer run export-test-db

The database dump will be saved to ./tests/fixtures/test-db.sql.gz

About

ProcessWire JSON API

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors