Wiki › Project

Multi-container Todo API

Article
From Chaipat's knowledge graph

Multi-container Todo API is a to-do API in Node.js and Express backed by MongoDB, with the API and database run as two containers through Docker Compose. It solves roadmap.sh's multi-container challenge.

Running it

A Makefile wraps the whole workflow: start the stack, check its health, list to-dos, and create a sample one with curl. The README covers a common pitfall. If MongoDB rejects the password, its data volume was probably created with different credentials, and make compose-reset rebuilds it, deleting the data.

See also