digitalocean/sample-node-service

JavaScript

Open original ↗

Captured source

source ↗

digitalocean/sample-node-service

Description: Simple Node.js web service for benchmarking DigitalOcean App Platform

Stars: 0

Forks: 0

Open issues: 2

Created: 2025-10-13T15:41:06Z

Pushed: 2026-03-30T16:51:52Z

Default branch: master

Fork: no

Archived: no

README:

Sample Node.js Web Service

A simple Express.js web service for benchmarking and testing purposes.

Features

  • Health check endpoint
  • REST API endpoints
  • JSON responses
  • Error handling
  • Server statistics

Endpoints

  • GET / - Welcome message with endpoint list
  • GET /health - Health check
  • GET /api/users - Sample users data
  • GET /api/stats - Server statistics
  • POST /api/echo - Echo back request data

Running Locally

npm install
npm start

The server will start on port 3000 (or PORT environment variable).

Deployment

This service is designed to work with DigitalOcean App Platform and other cloud providers.

Notability

notability 2.0/10

Sample repo, no notable traction.