supercharge/framework

Create a Base Bootstrapper class

Closed this issue · 1 comments

Some of the HTTP bootstrappers have duplicated implementations that can be moved to a BaseBootstrapper class. For example, the load-routes, load-middleware, load-auth-strategies bootstrappers check for files in a given folder. Every mentioned bootstrapper has its own implementation for this check.

Tasks

  • create a base-bootstrapper.js
  • the base bootstrapper exports a BaseBootstrapper class
  • the base bootstrapper provides common methods that can be used by the individual bootstrappers

Not needed anymore at this point due to internal changes