Skip to content

hanyi00i/mmu-zte-iot

Repository files navigation

#1 bus.js
read from_bs_id to the to_bs_id (search bus available)
update depature time (manually input by driver with matched bus_plate)
update number of commuter (with AI camera perhaps with matched bus_plate?)

#2 location.js
get geolocation and update to bus collection with matched bus_plate

#3 bus_stop.js
read bs_id (retreive bus stop information)
update number of people waiting (with AI camera perhaps with matched bs_id?)

#4 commuter.js
insert username (pending)
insert bs_id (with geolocation) and time (start)
insert bs_id (with geolocation) and time (end)

#user.js
register user (hash)
login user (hash)
read past_travel_id (left join from commuter.js of the user_id)

About

Backend code for Smart Bus System

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published