climate-cooperative/home-energy-assessment-database

Dependency Injection of DynamoDB Services

Opened this issue · 0 comments

Description

The DynamoDB service can and should be a singleton and then shared between each endpoint.

Technical Notes

  1. DynamoDB Service should be initialized once on app start.
  2. Pass service through to each controller.

Risks

[Add Risks]

Needs #46 done first potentially. Will help if more complex.

[...Issues]