We're going to need a database to back our service. Mongo is the lowest friction choice since the backend is written in JavaScript, but mongo comes with operation overhead since you normally run a mongo cluster on ec2 and manage it yourself. Thankfully, Mongo Atlas can automate the operation and they have a free tier. It also comes with a easy upgrade path and there's a terraform provider.
Current Behavior
What it does:
There's no database at all.
Proposed Behavior
What it should do:
Terraform should define a mongo atlas cluster
For development, will should pull a mongo image and stand it up in docker compose up
Background
We're going to need a database to back our service. Mongo is the lowest friction choice since the backend is written in JavaScript, but mongo comes with operation overhead since you normally run a mongo cluster on ec2 and manage it yourself. Thankfully, Mongo Atlas can automate the operation and they have a free tier. It also comes with a easy upgrade path and there's a terraform provider.
Current Behavior
What it does: There's no database at all.
Proposed Behavior
What it should do: