Find Jobs
Hire Freelancers

Laravel code send (Longitude and Latitude) data to SQL database and receive it via Pusher.

$10-30 USD

Terminado
Publicado hace más de 3 años

$10-30 USD

Pagado a la entrega
Heres the Laravel code. [login to view URL] Route::post('postdataCord', 'HomeController@postdataCord')->middleware('auth'); Controller public function postdataPos(Request $request) { $myId = auth()->id(); $long = $request->long; $lat = $request->lat; $data = User::find($request->get($myId)); $data->long = $long; $data->lat = $lat; $data->save(); $options = array( 'cluster' => 'us3' ); $pusher = new Pusher( env('PUSHER_APP_KEY'), env('PUSHER_APP_SECRET'), env('PUSHER_APP_ID'), $options ); $data = ['long' => $long, 'lat' => $lat]; $pusher->trigger('my-channel', 'my-event', $data); } Blade Script $(document).ready(function() { $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); const successCallback = (position) => { var long = [login to view URL]; var lat = [login to view URL]; [login to view URL](long, lat); var datastr = "long=" + long + "&lat=" + lat; $.ajax({ type: "post", url: "postdataCord", data: datastr, cache: false, success: function(data){ }, error: function(jqXHR, status, err){ } }); }; const errorCallback = (error) => { [login to view URL](error); }; const watchId = [login to view URL](successCallback, errorCallback, { enableHighAccuracy: true, timeout: 60000, maximumAge: 0 }); });
ID del proyecto: 27485859

Información sobre el proyecto

8 propuestas
Proyecto remoto
Activo hace 4 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi, I am Full stack developer with more than 8 years of working experience in different technologies. I can solve your langigute and latitide . Let discuss in inbox. Thanks
$20 USD en 1 día
5,0 (72 comentarios)
6,0
6,0
8 freelancers están ofertando un promedio de $31 USD por este trabajo
Avatar del usuario
Hello Sir, I am professional developer with having more than 7 year's experience in this field also I read your project description and I am interested in it but still we need some more information Can we discuss the project ? Note: Final price and time will be given after complete requirements. Regards Jawad Ahmed
$100 USD en 4 días
4,9 (94 comentarios)
7,0
7,0
Avatar del usuario
Hello, How are you? *****I am a PHP,AJAX,MySQL,Laravel,jQuery senior developer*****. I have rich experience for 8+ years. My main skill is to create user-friendly UI and fast, high-quality backend, and fast fix issues. I had worked on several website and APP developments for domestic and foreign companies. As a top developer, I promise a brilliant service for you. I can complete the project at the desired level perfectly. And I'm always ready for you and I can start right now. I will wait for your response and hope for a long term relationship with you. Thank you.Pavel.
$30 USD en 1 día
4,9 (24 comentarios)
5,5
5,5
Avatar del usuario
Hello, there. I am a Laravel expert who can handle your problem. Please contact to me for more details. Thank you.
$20 USD en 1 día
4,8 (32 comentarios)
5,7
5,7
Avatar del usuario
EXPERT with Laravel I have 8+ years of experience in Web Designing and Development. Let have a chat and discuss in detail I have read your description. Once we clear our requirements and understood all things we may revise budget and timeline if needed. Ready to start work. Inbox me and let's talk to get started!
$20 USD en 7 días
4,9 (18 comentarios)
4,8
4,8
Avatar del usuario
I am full stack web developer with more then 4 years experience .I am do lot's of them to me in websites .I develop web application including ,Erp,Inventory,E-commerce site .design them to website conversion and api Development with codeigniter ,laravel i also ensure security, optimization that will make your site m,ore faster .i also follow seo -friendly coding conversion from back and make the client happy from my nervous working experiences that i done more then 100 clients. I am used to with pusher also work work google distance api .i think i can help you on that case
$20 USD en 7 días
5,0 (7 comentarios)
2,9
2,9
Avatar del usuario
Hello There, I have seen the details as you need. It's a good place for work and we can communicate then making a good deal. Please send me a first message I could drop some samples of my past work to get more confidence in work and hire me ongoing basis. Waiting for your positive response. Thanks & Regards Shubham
$20 USD en 1 día
3,6 (9 comentarios)
1,7
1,7
Avatar del usuario
I can complete your project on time and within your budget I have worked on similar projects to what you are looking for, and I am confident I can exceed your expectations.
$20 USD en 5 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de MEXICO
Mexico City, Mexico
5,0
7
Forma de pago verificada
Miembro desde sept 3, 2020

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.