Simple, fast and reliable RESTful API to fetch information about U.S. border's wait times.
This project requires a Firebase account in order to store all ports related information.
- Create Firebase project
- Create test database within your firebase project
- Download the database private key using this tutorial
- Create an account in Currency Layer and copy the API access key
- Create your
.env
file with this keys:
PRODUCTION = <BOOL> //Set TRUE if running a production environment
DATABASE_URL = <STRING> //URL towards your created Database
SERVICE_ACCOUNT_KEY_PATH = <STRING> //Relative path to the private key
CURRENCY_LAYER_ACCESS_KEY = <STRING> // Access key from currencylayer.com
- Run with
go run main.go
- Go to localhost:8080
This project is licensed under the MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in
crossing-go
by you, shall be licensed as MIT, without any additional terms or conditions.