Closed adam-code-labx closed 5 months ago
When invoking the setup command the script provides prompts to guide the user through the process. Here's a breakdown of what it does:
Checking for Previous Updates: The command first checks if you've previously run the update. If a kit has already been updated, it skips it to prevent redundant operations.
Updating Kits: For kits that haven't been updated, the script copies the main resources of the kit to your application. Additionally, it extends the kit classes, ensuring that your application is equipped with the latest changes and improvements.
This update mechanism streamlines the process of keeping your application up-to-date with the latest kit enhancements, while also minimising unnecessary operations through intelligent skipping of previously updated kits.
Initial Setup:
Running the Setup Command: Execute the setup command to initiate the process. This action will generate the
XtendRESTPresenterServiceProvider
, allowing you to register the desired kits effortlessly.API Structure Creation: Upon running the setup command, the script automatically constructs the API structure within your application. This step facilitates the option to override resource presenters or actions as per your requirements.
By following these steps, you can swiftly integrate our starter kits into your project and begin leveraging their functionalities without the need for extensive customisation.
For example: