This demo service makes use of the Airlines On-Time Performance public dataset provided by Bureau of Transportation Statistics.
deno bundle --unstable httpserver.ts httpserver.js
terser --compress --mangle --output httpserver.min.js -- httpserver.js
deno compile --unstable -A --no-check --target x86_64-unknown-linux-gnu --output flights-x86_64-unknown-linux-gnu httpserver.min.js
docker build --platform linux/amd64 -t flights-service .
docker run --platform linux/amd64 -p 7999:7999 flights-service
CREATE TABLE flights (ID INTEGER PRIMARY KEY, FL_DATE DATE, ORIGIN TEXT, ORIGIN_CITY_NAME TEXT, DEST TEXT, DEST_CITY_NAME TEXT, CRS_DEP_TIME TEXT, DEP_TIME TEXT, DEP_DELAY TEXT, CRS_ARR_TIME TEXT, ARR_TIME INTEGER, ARR_DELAY INTEGER, TAIL_NUM TEXT, OP_CARRIER TEXT, OP_CARRIER_FL_NUM TEXT);