ethanjweiner / visualize-the-web

A geographic visualizer of HTTP requests across long distances, built with Python and Flask
2 stars 1 forks source link

Hardcode landing point data into "points" database #45

Closed ethanjweiner closed 3 years ago

ethanjweiner commented 3 years ago

Task Title

Task: Hardcode landing point data into "points" database

Task Description

This Task will...

Why use single-table inheritance (store routers & points together)? Because it makes it easier to query ALL points at the same time, & choose accordingly. Maybe it would've made sense to store them in separate tables (e.g. we could've searched EACH of those tables for neighbors, and acted accordingly). But our database is already designed as a single table, so I'd rather not mess with the implementation now.

Epic Parent

Feature: Awesome Feature Title

ethanjweiner commented 3 years ago

For simplification, all landing point data should be stored using the ORM and SQLAlchemy.

Update the "store_points" function to only delete & store routers....