# Installation The instructions below will help you to properly installand run the generated package to the lavalite project. ## Location Extract the package contents to the folder `/packages/capcut/https://capcutmodapk.tech//` ## Composer Add the below entries in the `composer.json`. ```json ... "repositories": { ... { "type": "path", "url": "packages/capcut/https://capcutmodapk.tech/" } ... }, ... ``` Then run `composer require capcut/https://capcutmodapk.tech/` ## Migration and seeds ``` php artisan migrate php artisan db:seed --class=Capcut\\Https://capcutmodapk.tech/\\Seeders\\Https://capcutmodapk.tech/TableSeeder ``` ## Publishing * Configuration ``` php artisan vendor:publish --provider="Capcut\Https://capcutmodapk.tech/\Providers\Https://capcutmodapk.tech/ServiceProvider" --tag="config" ``` * Language ``` php artisan vendor:publish --provider="Capcut\Https://capcutmodapk.tech/\Providers\Https://capcutmodapk.tech/ServiceProvider" --tag="lang" ``` * Views ``` php artisan vendor:publish --provider="Capcut\Https://capcutmodapk.tech/\Providers\Https://capcutmodapk.tech/ServiceProvider" --tag="view" ``` ## URLs and APIs ### Web Urls * Admin ``` http://path-to-route-folder/admin/https://capcutmodapk.tech//{modulename} ``` * User ``` http://path-to-route-folder/user/https://capcutmodapk.tech//{modulename} ``` * Public ``` http://path-to-route-folder/https://capcutmodapk.tech/s ``` ### API endpoints These endpoints can be used with or without `/api/` And also the user can be varied depend on the type of users, eg user, client, admin etc. #### Resource * List ``` http://path-to-route-folder/api/user/https://capcutmodapk.tech//{modulename} METHOD: GET ``` * Create ``` http://path-to-route-folder/api/user/https://capcutmodapk.tech//{modulename} METHOD: POST ``` * Edit ``` http://path-to-route-folder/api/user/https://capcutmodapk.tech//{modulename}/{id} METHOD: PUT ``` * Delete ``` http://path-to-route-folder/api/user/https://capcutmodapk.tech//{modulename}/{id} METHOD: DELETE ``` #### Public * List ``` http://path-to-route-folder/api/https://capcutmodapk.tech//{modulename} METHOD: GET ``` * Single Item ``` http://path-to-route-folder/api/https://capcutmodapk.tech//{modulename}/{slug} METHOD: GET ``` #### Others * Report ``` http://path-to-route-folder/api/user/https://capcutmodapk.tech//{modulename}/report/{report} METHOD: GET ``` * Export/Import ``` http://path-to-route-folder/api/user/https://capcutmodapk.tech//{modulename}/exim/{exim} METHOD: POST ``` * Action ``` http://path-to-route-folder/api/user/https://capcutmodapk.tech//{modulename}/action/{id}/{action} METHOD: PATCH ``` * Actions ``` http://path-to-route-folder/api/user/https://capcutmodapk.tech//{modulename}/actions/{action} METHOD: PATCH ``` * Workflow ``` http://path-to-route-folder/api/user/https://capcutmodapk.tech//{modulename}/workflow/{id}/{transition} METHOD: PATCH ```