Skip to content

PROD - chat and QMM

Amruta Hulagar requested to merge feature/nodejs-server into repo_config

Add Node.js Express Server with 5 files: index.js, package.json, config.js, server.test.js, .env.example

Summary by Bito

This PR adds a Node.js Express server with 5 files: index.js, package.json, config.js, server.test.js, .env.example, including configuration management, API routes, and unit tests. Additionally, it modifies the environment configuration in config.js to validate NODE_ENV values.

Detailed Changes
  • Introduces a new Express server with API endpoints for status and data operations in index.js
  • Adds environment-based configuration supporting multiple environments with validation for NODE_ENV in config.js
  • Includes environment variable template for secure configuration in .env.example
  • Provides unit tests for server functionality using supertest in server.test.js
Edited by Amruta Hulagar

Merge request reports