PWA that tracks Sun activity (coronal mass ejections, solar flares) with data provided by NASA's DONKI API. Current statistics are made within the OOP Sun class' methods using JavaScript to calculate formulas. TDD Jest testing was carried out on the Sun class to guarantee successful properties & methods.
Initially, this application was an exercise in JavaScript math, array iteration, ES6 synatx, DOM manipulation, and Third-Party API methods. Through Lighthouse audits & webpack configurations, I have further pushed my understanding of application optimization, offline functionality & PWA installability.
- Open live URL in browser.
- On desktop, click 'Install solData' icon in address bar.
- On iOS, click 'Add to Home Screen'.
Run the following terminal command to run tests:
$ npm run test
- Unit conversion (SI, Metric, Imperial)
- PWA Installation (see: Installation)
- PWA Optimization
Original : 54 | 100 | 100 | 91 | -
Current : 80 | 100 | 100 | 100 | 1/1, 6/6
- Languages: HTML, CSS, JavaScript
- Libraries: Day.js, jQuery, Jest, webpack, et al.
- Databases: DONKI (NASA API), indexedDB
- Graphics: Adobe Illustrator