Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prerequisites to examples #992

Open
scriptPilot opened this issue Oct 15, 2023 · 3 comments
Open

Add prerequisites to examples #992

scriptPilot opened this issue Oct 15, 2023 · 3 comments
Assignees

Comments

@scriptPilot
Copy link

scriptPilot commented Oct 15, 2023

As a proposal, it would be helpful to have the prerequisites (DB schema etc.) somewhere at the top as a comment. Now, by reading the code and try and error I can reproduce it but it can be improved:

Example

https://github.com/mevdschee/php-crud-api/blob/main/examples/clients/upload/vanilla.html

@scriptPilot
Copy link
Author

@mevdschee - if you think it is helpful, you can share this minimal JS Wrapper I have created for your incredible API :-)

https://github.com/scriptPilot/js-php-mysql-crud-api

@mevdschee mevdschee self-assigned this Oct 17, 2023
@mevdschee
Copy link
Owner

DB schema

You can use any of the schemas provided in the tests/fixtures, see:

https://github.com/mevdschee/php-crud-api/tree/main/tests/fixtures

@scriptPilot
Copy link
Author

Cool - so it would be helpful to have a note in the script to these schema / tables which are required :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants