Skip to content

aman9039/node-devops-app

Repository files navigation

node-devops-app

Production-ready Node.js Express API scaffold with Docker support.

Features

  • Express API with security and compression middleware
  • Health and info endpoints
  • Centralized 404 and error handling
  • Graceful shutdown for containerized deployments
  • Dockerfile and Docker Compose support
  • Basic integration test for health checks

Getting started

npm install
Copy-Item .env.example .env
npm run dev

The API will be available at http://localhost:3000.

Endpoints

  • GET /
  • GET /health
  • GET /api/v1
  • GET /api/v1/info

Docker

docker build -t node-devops-app .
docker run -p 3000:3000 --env-file .env node-devops-app

Or with Compose:

docker compose up --build

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors