GitHunt
MO

mohamedgomran/indego-weather

IndegoWeather

Simple Node.js server to fetch and store data from Indego and openeathermap and provide the hitorical data to be queried using data and/or specific kioskId

Explore all endpoints from here demo

  • All config varaiables are in config.ts file.
  • All env varialbles are optional, only MONGO_URL is required.
  • Any env variable default values can be overidden by passing the env.

To start development server

$ export MONGO_URL=yourmongoco
$ npm run start:dev

To start the prodcution version

$ export MONGO_URL=yourmongoco
$ npm run build
$ npm start

Testing

$ export MONGO_URL=yourmongoco
$ npm test

will generate a coverage report (html) in coverage directory

Languages

TypeScript99.5%JavaScript0.5%

Contributors

Created November 14, 2020
Updated November 14, 2020