Skip to content
This repository has been archived by the owner on May 4, 2020. It is now read-only.

GraphQL Backend for configuring Sites and storing/updating them in MongoDB.

License

Notifications You must be signed in to change notification settings

shantanoo-desai/epcis-iot-backend

Repository files navigation

EPCIS-IoT GraphQL Backend (Deprecated)

Refer to tiguitto / TrackNTrace Landing Page for usage of Telegraf to parse EPCIS and IOT Information into InfluxDB

Development and Deployment

Windows 10

package.json has %NODE_ENV% as the Node Environment Variable in it. In order to run it with Windows Command Prompt (cmd) do the following:

Compiling with webpack:

  • Development:

      set NODE_ENV=development&&npm run build
    
  • Production:

      set NODE_ENV=production&&npm run build
    

Setup environment variables in a .env file in the root folder & launch the code using:

npm run build:env

Linux/Mac-OS

Change the %NODE_ENV% to $NODE_ENV in the package.json file and do the following:

Compiling with webpack:

  • Development:

      NODE_ENV=development npm run build
    
  • Production:

      NODE_ENV=production npm run build
    

Setup environment variables in a .env file in the root folder & launch the code using:

npm run build:env

Related Repositories

  • ng-epcis-iot: Frontend for EPCIS-IoT GraphQL Backend
  • EPCIS-IoT-Arduino: Arduino Library to program ESP-32 with BME280 to send sensor data in InfluxDB's Line Protocol over WLAN to an MQTT Broker

About

GraphQL Backend for configuring Sites and storing/updating them in MongoDB.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published