Skip to content

Fokke-/pw-json-api

Repository files navigation

ProcessWire JSON API

NOT READY FOR PRODUCTION USE

Click here for documentation

Tests

DDEV 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

 

Packages

No packages published