Production-ready TaskFlow API: Node.js/Express backend with Alpine Linux containerization.
202
The official backend API for TaskFlow, a full-stack MERN application designed to manage daily tasks efficiently.
This image runs a lightweight Node.js + Express server optimized for Docker deployments.
node:20-alpine (~50MB image size)node)/health endpoint for container monitoringThis image is designed to run alongside a MongoDB container.
services:
server:
image: dockeranay2310/taskflow-server:v1.0
container_name: taskflow_server
environment:
- PORT=5000
- MONGO_URI=mongodb://mongo:27017/taskflow
ports:
- "5000:5000"
depends_on:
- mongo
mongo:
image: mongo
container_name: taskflow_mongo
ports:
- "27017:27017"
Manual Run
docker run -d \
--name taskflow_server \
-p 5000:5000 \
-e MONGO_URI=mongodb://host.docker.internal:27017/taskflow \
dockeranay2310/taskflow-server:v1.0
š§ Environment Variables Variable Description Default PORT Server listening port 5000 MONGO_URI MongoDB connection string mongodb://localhost:27017/taskflow NODE_ENV Environment mode production š” API Endpoints
GET /health ā Health check status
GET /todos ā Retrieve all tasks
POST /todos ā Create a new task
š Architecture
Runtime: Node.js + Express
Database: MongoDB
ODM: Mongoose
Container Base Image: node:20-alpine
ā Summary
Lightweight and secure Node.js backend
Docker-optimized production build
Clean REST API structure
Ready for orchestration (Docker Compose / Kubernetes)
Content type
Image
Digest
sha256:e3cd1a204ā¦
Size
51.5 MB
Last updated
9 months ago
docker pull dockeranay2310/taskflow-server:v1.0