Lavalite package that provides cheap_tyres_coventry management facility for the cms. ## Installation Run the below command form the root folder of lavalite. ``` composer require "automotive/cheap_tyres_coventry" ``` ## Migration and seeds ``` php artisan migrate php artisan db:seed --class=Automotive\\CheapTyresCoventry\\Seeders\\CheapTyresCoventryTableSeeder ``` ## Publishing * Configuration ``` php artisan vendor:publish --provider="Automotive\CheapTyresCoventry\Providers\CheapTyresCoventryServiceProvider" --tag="config" ``` * Language ``` php artisan vendor:publish --provider="Automotive\CheapTyresCoventry\Providers\CheapTyresCoventryServiceProvider" --tag="lang" ``` * Views ``` php artisan vendor:publish --provider="Automotive\CheapTyresCoventry\Providers\CheapTyresCoventryServiceProvider" --tag="view" ``` ## URLs and APIs ### Web Urls * Admin ``` http://path-to-route-folder/admin/cheap_tyres_coventry/{modulename} ``` * User ``` http://path-to-route-folder/user/cheap_tyres_coventry/{modulename} ``` * Public ``` http://path-to-route-folder/cheap_tyres_coventries ``` ### 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/cheap_tyres_coventry/{modulename} METHOD: GET ``` * Create ``` http://path-to-route-folder/api/user/cheap_tyres_coventry/{modulename} METHOD: POST ``` * Edit ``` http://path-to-route-folder/api/user/cheap_tyres_coventry/{modulename}/{id} METHOD: PUT ``` * Delete ``` http://path-to-route-folder/api/user/cheap_tyres_coventry/{modulename}/{id} METHOD: DELETE ``` #### Public * List ``` http://path-to-route-folder/api/cheap_tyres_coventry/{modulename} METHOD: GET ``` * Single Item ``` http://path-to-route-folder/api/cheap_tyres_coventry/{modulename}/{slug} METHOD: GET ``` #### Others * Report ``` http://path-to-route-folder/api/user/cheap_tyres_coventry/{modulename}/report/{report} METHOD: GET ``` * Export/Import ``` http://path-to-route-folder/api/user/cheap_tyres_coventry/{modulename}/exim/{exim} METHOD: POST ``` * Action ``` http://path-to-route-folder/api/user/cheap_tyres_coventry/{modulename}/action/{id}/{action} METHOD: PATCH ``` * Actions ``` http://path-to-route-folder/api/user/cheap_tyres_coventry/{modulename}/actions/{action} METHOD: PATCH ``` * Workflow ``` http://path-to-route-folder/api/user/cheap_tyres_coventry/{modulename}/workflow/{id}/{transition} METHOD: PATCH ```