Node + MongoDB boilerplate
Node service backed by MongoDB for document storage. One click generates a complete, runnable bootstrap — docker-compose, Makefile, Dockerfile, CI and more.
The stack
Node.js 24
MongoDB 27017
docker-compose.yml preview
# docker-compose.yml — generated by Stacktora
services:
api:
image: node:24-alpine
command: npm run dev
ports:
- "3000:3000"
env_file: [ .env ]
mongo:
image: mongo:8
ports:
- "27017:27017"
What you get
docker-compose.ymlMakefileDockerfileREADME.md.env.example.gitignore.dockerignore.github/workflows/ci.yml.tool-versions.editorconfigProcfile … and more
Quickstart
# clone, then one command to a running stack git clone … && cd api $ make setup # install toolchain + deps, build images $ make dev # boot the full stack # → api live at localhost:3000
Related templates
Django + Postgres + Redis
Django with Postgres and a Redis-backed Celery worker for background jobs.
Pythonpostgresredis
Express + Postgres + RabbitMQ
Node/Express API with Postgres and a RabbitMQ queue plus worker.
Node.jspostgres
Spring Boot + PostgreSQL
Java Spring Boot API with a Postgres database.
Java (Spring)postgres
Next.js + PostgreSQL
React framework with a Postgres database — the classic full-stack starting point.
Node.jspostgres
