5.1.1 • Published 10 months ago

presage-api v5.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

Presage API

Steps to run this project:

  1. Run npm i command
  2. Create a file called .env in the project's root directory. (The contents of the env file are below)
  3. Run npm run build_server_watch and npm run run_server_watch

Env File

# Various mysql connection information.  In production, this'll be set in the environment variables of the container
MYSQL_USER=
MYSQL_PASSWORD=
MYSQL_HOST=devdb.isoftdata.com
MYSQL_DATABASE=presage

# This info sends stuff from all our graphql queries to a reporting database
#APOLLO_KEY=
#APOLLO_GRAPH_VARIANT=
# APOLLO_GRAPH_REF=
#APOLLO_SCHEMA_REPORTING=
#APOLLO_GRAPH_ID=

# I saw this in the docs and it is supposed to identify the server, so mybe we can use product code?
#APOLLO_SERVER_ID=0000000

# Turn on dev mode
NODE_ENV=development

# an arbitrary key that will be used to encrypt JWT in the application.  This should be unique per server, non-volatile, and a secret
PRIVATE_KEY=

#reporting server
#REPORT_SERVER_URI=http://localhost:6000