Skip to content

brandonfcohen1/phillytrails-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phillytrails Backend Server

This is a Node/Express App for PhillyTrails.

The server performs 2 functions:

  • Serves GeoJSON from my PostGIS database.
  • Finds the center of a given route so the map can zoom there.

I wrote it originally for PostGIS 3, but since I am hosting on Heroku I had to rewrite for PostGIS 2.5 as Heroku PostgreSQL only supports up to 2.5. The result is a bit messy but it works for now. my next step is to set up a tile service on this server instead of loading the entire GeoJSON at once, which will remove the need for this and increase performance.

I also plan on publishing guides to retrieve my data through a GeoJSON API shortly.

Please feel free to get in touch with any comments/questions/ideas. Also feel free to create issues and/or fork and make a PR.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published