Go to file
2021-07-12 14:27:05 -04:00
build immediately insert the forecast pool to the live pool 2021-07-12 14:27:05 -04:00
inquirey move inquiries to their own folder 2021-07-12 10:52:25 -04:00
offline move inquiries to their own folder 2021-07-12 10:52:25 -04:00
route_sql sort result sets by id 2021-06-02 15:50:21 +00:00
.env.sample populate sample env 2020-02-11 11:06:13 -05:00
.gitignore exclude dbeaver stuff 2021-04-08 15:47:21 -04:00
columns.md add substance column and move some files out of the route folder that aren't actually being used by routes 2020-02-19 13:25:28 -05:00
create_certs.sh add pieces to get the server running 2020-02-05 23:41:57 -05:00
forecast_api.service add slash for directory 2021-04-05 19:03:00 +00:00
index.js running the SQL was commented out in the router, also the columns were incorrect when swapping customer, and outer join was spelled wrong 2021-04-07 21:23:19 +00:00
LICENSE Create LICENSE 2019-03-12 14:31:39 -04:00
Master Template 1.6.xlsm validate the pricing upload is being included 2021-04-08 15:46:08 -04:00
msauth.html change header 2019-03-19 00:13:12 -04:00
package-lock.json add pieces to get the server running 2020-02-05 23:41:57 -05:00
package.json upgrade packages 2020-02-06 00:09:36 -05:00
README.md differentiate service setup 2021-07-12 14:26:13 -04:00
sample_request.json move files around 2020-02-19 17:05:27 -05:00

Setup

  • git clone (to //opt for verbatim use of the .service file)
  • npm install
  • create certs: chmod 700 create_certs.sh , ./create_certs.sh
  • create .env from template .env.sample sepcifiying database creds and listening port for API, and working directory
  • node index.js to setup as service
  • copy .service file to //etc/systemd/system/ (adjust user/working direct if needed)
  • sudo systemctl enable forecast_api.service

Initial Forecast

  • all SQL depends on unchanged core sales matrix table schema