Add cell debug page.

This makes it much easier to troubleshoot information related to a cell
by showing detailed data about a single cell. At this point much is a
placeholder, but we at least get the cell boundary coordinates and a
map.

This also starts to make some code common around doing things like
mapping.
This commit is contained in:
Eli Ribble 2025-11-19 15:21:06 +00:00
parent 7c2d7eef25
commit c0b527c9a3
No known key found for this signature in database
9 changed files with 465 additions and 48 deletions

View file

@ -111,6 +111,7 @@ func main() {
r.Post("/signup", postSignup)
// Authenticated endpoints
r.Method("GET", "/cell/{cell}", NewEnsureAuth(getCellDetails))
r.Method("GET", "/settings", NewEnsureAuth(getSettings))
r.Method("GET", "/vector-tiles/{org_id}/{tileset_id}/{zoom}/{x}/{y}.{format}", NewEnsureAuth(getVectorTiles))