A simple application written in Go.
Go Fly hits the skyscanner api and finds the cheapest flights available for the specified destinations.
- Clone the repo.
git clone git@github.com:sdstolworthy/go-fly.git && cd go-fly/
- Get the dependencies
dep ensure
- (Optional) Seed the database
- Run the seed files
go run seed/*.go -airport
- Run the seed files
- Run the server from the main directory
go run *.go
- Clone the repo.
- Run
docker-compose up -d
Note: If you make changes to the source, you must manually run docker-compose build
to update the docker image with the new source code.
For convenience, I have included my .vscode/launch.json
. You can use this to work with the debugging functions in VSCode.
Wishlist:
Daemonize the application. The application should run in the background, and send notifications through email or another meansDatabase for analytics. Write prices to a database for historical purposes. Use this data to determine what a "good" deal is, by comparing to past price averages.- Support additional queries.
- [In Progress] Build a web interface for customizing queries.