Skip to content

mongodb capability

mongodb wires MongoDB into your Go service using the official Go driver, with collection abstractions and BSON helpers ready to use.

  • Client connection
  • Database/collection abstractions
  • Repository pattern
  • BSON helpers

Use mongodb for document-oriented data, flexible schemas, or rapid prototyping where a relational model would be overly rigid. Well-suited for content, catalog, and event store use cases.

Suggests: docker, health, observability

Terminal window
verikt new my-service --language go --cap mongodb
# or add to an existing service:
verikt add mongodb

docker

Local MongoDB instance via Docker Compose.

health

Health checks that include MongoDB connectivity.

observability

OpenTelemetry tracing for MongoDB operations.