Expressjs K8s

screenshot of Expressjs K8s
express

Expressjs K8s

Express.js microservice with a Dockerfile, Kubernetes YAMLs and a non-root user

Overview:

The Express.js Docker example demonstrates how to create a microservice using Node.js and Express.js. It provides instructions for deploying the microservice using Kubernetes with YAML, OpenFaaS, Docker, and running it locally with node. The example includes endpoints for serving HTML pages, JSON responses, and a health check.

Features:

  • Endpoints to serve HTML pages and JSON responses
  • Health endpoint for checking service status (returns 200 OK)
  • Supports deployment using Kubernetes, OpenFaaS, and Docker
  • Optional YAML files for direct deployment to Kubernetes
  • Templates provided by OpenFaaS for easy deployment without managing Dockerfiles or port bindings
  • Includes Helm chart for easier installation
  • Contributor guidelines for code contribution
express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.