- A Node.js Application that usesexpressjs.com to host a rest API that retrieves solar data from NOAA/NWS (National Oceanic Atmospheric Administration/National Weather Service) and outputs most of the data in JSON (JavaScript Object Notation).
- The various sources of data has come from swpc noaa data
- The main purpose of this service is to predict Auroras Triggered from solar activity.
- The service can be viewed online at Solar Service
- A client app that retrieves and displays the data can be viewed at Solar App
- NodeJs 6+
- A maxmind city DB for reverse geo ip lookups Source: (https://dev.maxmind.com/maxmind-db/) A helper script is located in /helpers can download this.
- A Gmail email setup that uses OAuth2
- Download a maxmind db from above and extract to /static
- Set the DEFAULT_SOLAR_PORT environment variable for production use port to host the server on
- Email config file location is set by SOLAR_SERVICE_SECRET_CONFIG_PATH environment variable
- Download a maxmind db from above
npm start
which is alias fornpm install && node index.js
- Can be viewed in html form at This is an Solar Docs on Github
- Can also be viewed inMarkdown Format
npm run dev
- This runs the server with nodaemon for auto restarting on code changes
npm test
npm run lint
npm run doc
- Always welcome
- Write tests
- Check tests pass
- Write docs if applicable
- Check linting
- Do a Pull request