A GraphQL service to find the nearest tide prediction station and get predictions for the next few days.
It provides a simpler and more user-friendly API than the original NOAA API, in addition to geocoding capabilities.
Tide data powered by NOAA CO-OPS API. Water temperature data powered by USGS Instantaneous Values Web Service. Weather data powered by Dark Sky. Geocoding and reverse geocoding powered by OpenStreetMap Nominatim.
Deploy to your hosting provider, set the below environment variables, and start it with npm start
.
Define the following environment variable:
APPLICATION
- The name of your organizationENABLE_GRAPHIQL
- Set to"true"
to enable the/graphiql
endpointACCESS_CONTROL_ALLOW_ORIGIN
- The value to send in theAccess-Control-Allow-Origin
headerGEONAMES_USERNAME
- https://geonames.org API usernameIPDATA_API_KEY
- API key for https://ipdata.co/IPSTACK_API_KEY
- API key for https://ipstack.com/SENTRY_DSN
- To enable reporting to Sentry (optional)APOLLO_ENGINE
- Apollo Engine API key (optional)
MIT © Brad Dougherty