ust:meeting_minutes_mar._9

This is an old revision of the document!


Meeting Minutes: March 9, 2020

Attendance:

Kevin, Andrew, Jonathan, Jianna

Current Updates:

  • Database accounts created for all members
    • ssh [email protected] -p 11144
    • Change default password: salty8814pilot
    • Re-login through ssh command above
    • psql -d control_tower -U control_tower_ro -c “SELECT * FROM apple ORDER BY time_received DESC LIMIT 10”
  • Worked on Mid-Semester Progress Report

Past Updates:

  • Kenny recommends API routing for dashboard
    • Found YouTube tutorial to create REST API
    • HTTP Protocol: GET /apple, /bumblebee, /guava, /cranberry
  • Discussed with Kenny on Discord
    • SCEL database not set up to accept remote connections
  • Researching ways to connect Node.js with PostgreSQL
  • Potential Method:
    • Using SQL statement “SELECT * FROM apple ORDER BY time_received DESC LIMIT 10;” to pull data from database
    • Use calls and functions to gather necessary data from JSON file
      • E.g. Gather average of 100 temperature data points from apple
      • E.g. Gather most recent 100 temperature data points from apple to graph
    • With those selected data points, display on the HTML
  • Questions to think about:
    • How will we refresh/update JSON file?
      • Call SQL statement every time? Auto-refresh?
    • How to save database data after SQL statement into a JSON file?
    • How to connect and do commands on the database?

Future Tasks:

  • Research more on node-postgres library
  • Start trying to implement everything
  • ust/meeting_minutes_mar._9.1583807316.txt.gz
  • Last modified: 2021/09/19 21:59
  • (external edit)