[fsugpu] Re: PU BUS TRACKER APP

  • From: Shaswata Dutta <dutta.shaswata@xxxxxxxxx>
  • To: fsugpu@xxxxxxxxxxxxx
  • Date: Mon, 25 Jan 2016 12:05:41 +0530

@prasanna : as discussed on last wednesday, can you make me an api as
follows?

1. api : /newTrackerID
return(type = JSON) : {
trackerId : <id>, // Sequentially generated id for device with new
registration. Can be vulnerable to spamming and DDOS. May be we can keep a
captcha here at a production stage.
}


2. api: /track
request(action = POST, type = JSON) {
trackerId : <id>,
latitude: <lat value>,
longitude: <lon value>,
timestamp: <timestamp>
}
return(type=JSON) : {
status : <0(success)/1(error)>,
message : <msg>,
recordId : <recordId> // ID of the record on success.
}

I think this will be enough for a prototype. We need to find a mechanism
for the user to provide the bus being tracked which can be stored in the DB
as say "BUS ID" and the same can be added as an additional parameter in the
"/track" api request.

On 18 January 2016 at 11:34, sooraj kenoth <soorajkenoth@xxxxxxxxx> wrote:

Kudus....
:)

2016-01-17 20:52 GMT+05:30 Prasanna Venkadesh <prasmailme@xxxxxxxxx>:
Wonderful man. Leaflet is the optimal choice. Need to start working on
the
backend api

On Sun, Jan 17, 2016 at 3:49 PM, Shaswata Dutta <
dutta.shaswata@xxxxxxxxx>
wrote:

Hello everyone,

Achieved critical breakthrough by successfully implementing offline map
using Leaflet.js library and Map tiles from Open Street Map. Need to
test it
in live. Then we can work on the backend to store the tracking data.
Attaching emulator screen shot.

On 16 January 2016 at 11:27, sooraj kenoth <soorajkenoth@xxxxxxxxx>
wrote:

2016-01-16 10:40 GMT+05:30 Prasanna Venkadesh <prasmailme@xxxxxxxxx>:
Check this out https://transportr.grobox.de/

I think this is what i am searching for...




--

With Regards,
Shaswata Dutta
Web Developer
(Facebook : https://www.facebook.com/reed.knight)
(M : +91 8300-056-352, 9051-589-614(Kolkata Only))




--
Thanks & Regards,
Prasanna Venkadesh.




--
Regards
Sooraj Kenoth
"I am Being the Change I Wish to See in the World"




--

With Regards,
*Shaswata Dutta*
*Web Developer*
*(Facebook : https://www.facebook.com/reed.knight
<https://www.facebook.com/reed.knight>)*
*(M : +91 8300-056-352, 9051-589-614(Kolkata Only))*

Other related posts: