This project aims to be an playground to explore General Transit Feed Specification Reference by enabling import GTFS data sets into a SQL database and exposing an API to query data.
mysqldump --no-data -hlocalhost -ucommute -pcommute commute > ddl/commute-ddl.sql
mysql -ucommute -pcommute commute < commute-ddl.sql
- GET http://localhost:3000/import/ - Run import job
Install go-bindata:
go get -u github.com/jteeuwen/go-bindata/...
Run go-bindata:
go-bindata -o data/data.go -pkg data resources/...