Midburn / spark

"burn in a box" suite of services that composes everything required to run a burn event throughout the year
Apache License 2.0
18 stars 46 forks source link

Vehicles back-end #792

Open amotenko opened 6 years ago

amotenko commented 6 years ago

Background

We are requested to assist the gaters to count vehicles in and out of the event, collect a histogram of arrival and departures, and display a counter for how many vehicles are currently inside the city.

Technical details

  1. Add a new table called vehicle_entries that contains the following columns:
  1. Add a new endpoint for creation and insertion of new entry records that receives time and direction
  2. Add a new endpoint for retrieval of current number of vehicles in the city by querying the table and subtracting departures from arrivals
amotenko commented 6 years ago

@rotman, @furmana, following our conversation this will require changes in the gatting app