Stocks-GraphQL

command module
v0.0.0-...-bd97fab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2020 License: MIT Imports: 5 Imported by: 0

README

Stocks-GraphQL

GraphQL API to retrieve Historical Stocks data from DynamoDB

Features:
! API can only be accessed on the GraphQL playground GUI
Environment Variables

PORT // PORT to run your application
AWS_ACCESS_TOKEN // Your AWS Access Token
AWS_SECRET // your AWS Secret
REDIS_ADDRESS <host_name>:<port_name>

To Run the project:

Local Endpoint: localhost:8080

To deploy on App Engine:

Follow Instructions from official website: https://cloud.google.com/appengine/docs/standard/go/building-app

app.yaml:
runtime: go113

env_variables:
  PORT: <port>
  CALLBACK_URL: https://graphql-project-278000.ue.r.appspot.com/callback
  GOOGLE_CLIENT_ID: <google_client_id>
  GOOGLE_CLIENT_SECRET:<google_client_secret>
  AWS_ACCESS_TOKEN:  <aws_access_token>
  AWS_SECRET:  <aws_secret>
  REDIS_ADDRESS:  <redis_address_with_port>
  REDIS_PASS:  <redis_password>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL