CT-CORE (v1.9.72) is a Node.js framework for building REST APIs defined via JSON metadata, reducing boilerplate by enabling API, module, and version definitions in configuration files. It integrates with MongoDB, MySQL/MariaDB, and SQL Server using drivers like Mongoose, mariadb, and mssql. Released on npm with updates as needed, it includes CLI tools for project initialization and generation of API documentation via apidoc. Differentiators include a metadata-driven approach versus code-first frameworks like Express.
npm install ct-coreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a minimal index.js file that imports CT-CORE and starts the server or runs a command based on environment variable.
core('start') instead of core.start()Upgrade MongoDB to 4.4 or later.
Use require() instead of import.
Call core('start') instead of core.start().Create .env file from .env.copy and set MONGO_DB_HOST, MONGO_DB_PORT, etc.
Run 'npm install -g ct-core' or 'npm install ct-core' in the project directory.