MOTOSHARE 🚗🏍️

Rent Bikes & Cars Directly from Owners

Motoshare connects vehicle owners with people who need bikes and cars on rent. Owners earn from idle vehicles, and renters get flexible ride options.

Visit Motoshare

How to filter data using country,state and city dropdown in microservice

LaravelUncategorized

Step 1: create dropdown div block in blade file

Step 2: write jQuery key up and change function

Step 3:pass URL in ajax function for client side microservice

step 4: set routing

$tourcontroller = $namespace.’\TourDetailController’;
Route::get(‘toursdetail/{email}’,”$tourcontroller@gettrip”);

Step 5: write function in client side controller

Step 6: set env and app.php to connect between client and serverside for microservice

GET_MYHOLIDAYTRIP_URL=/api/v1/j/gettripdetail

Step 7: Set routing server side

Route::get(‘gettripdetail/{email}’, ‘Admin\AdminTPController@tripdetail’);

Step 8: create function in server side controller

now run finally project

Rakesh K
5 1 vote
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x