Thunder

@thunder-wiki

Public team

Community (0)
No community contribution yet

Joined on Feb 25, 2020

  • Reporting is a retooled project originally called "Dashboards" that CPS was developing to serve as a data display application. Dashboards is written with the same tools and ideas as Thunder with a nodejs/koa backend and SPA front end written in Diver. Backend and Setup The reporting server needs to be running alongside Thunder and can be found at /dashboard/app.js. We use Redbird to reverse proxy the reporting server and have so far had it pointing to /reporting.
     Like  Bookmark
  • # Thunder Signatures
     Like  Bookmark
  • # Thunder Logging
     Like  Bookmark
  • # Thunder MedPass and Electron
     Like  Bookmark
  • # Thunder Orders
     Like  Bookmark
  • Diver is a tool that Joe developed to migrate as much responsibility over the DOM away from HTML and CSS and give it to JavaScript. Diver allows you to create DOM elements programmatically and save references to them for later use. For the most part, Diver is responsible for every HTML element in Thunder that lives within <body>. Diver has gone through its iterations over the years and as it stands in 2020 has made improvements that are unfortunately unavailable to the version we committed to in 2015. Structure Javascript code var Diver = require('diver'); Diver
     Like  Bookmark
  • The backend of Thunder is a monolithic Nodejs application implemented with the Koajs 1.x framework. It has the following features: Receives HTTP requests with JSON Authenticates with JWT Broadcasts updates with socket.io MongoDB database Overview app.js is the starting point of the server, and serves as a directory for the HTTP endpoints.
     Like  Bookmark
  • The Thunder client is a single page application written entirely in javascript. The source files are located in the /client folder of the repository. Editing The application is packaged with Browserify using gulp. In order to make changes to the client, gulp needs to be running. Gulp will automatically re-bundle the application when changes are made. npm i from the root directory to install necessary dependencies, and then npx gulp
     Like  Bookmark