This repository has been archived by the owner on Jan 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Server Side Application
Steven Myers edited this page Nov 19, 2017
·
1 revision
- Dependencies are injected into the
Router
class, so It's a good file to start reading if you want to get familiar with the program.
- functions that the router injects with dependencies, so that they can handle requests.
- on start grabs the latest screener in elasticsearch
- screener should be mostly static, so it might be best to hold in memory
- technical uncertainty.
- auto refresh cach, ditch cache, make cache refreshable from admin...
- updates will hit the screener cache and the database
- holds all programs in memory
- program updates overwrite previous program data
- programs should be mostly static, so it might be best to hold in memory
- technical uncertainty.
- auto refresh cach, ditch cache, make cache refreshable from admin...
- Used to register queries to programs
- translates between the
application data model
and theelasticsearch data model
- Uses submitted data to find applicable programs
- generally some of the ugliest code in the app.
Because YouCanBenefit
is a thick-client application the api-server
is somewhat neglected code.
There is much opportunity for improvement in general. I'm in favor of doing a full rewrite using nest.js with an eye for modularizing the components and allowing for partial deployments.