Skip to content

Add prerequisites to examples #992

Open
@scriptPilot

Description

@scriptPilot

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

Activity

scriptPilot

scriptPilot commented on Oct 16, 2023

@scriptPilot
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

self-assigned this
on Oct 17, 2023
mevdschee

mevdschee commented on Oct 17, 2023

@mevdschee
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

scriptPilot commented on Oct 17, 2023

@scriptPilot
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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @mevdschee@scriptPilot

      Issue actions

        Add prerequisites to examples · Issue #992 · mevdschee/php-crud-api