Q3 API (v4.6.1, monthly releases) is an opinionated Node.js framework that bundles Express and Mongoose to automate REST API setup including access control, routing, error handling, task scheduling, and multitenancy. It reduces boilerplate by providing a config-driven startup with environment variables for database, S3, mailgun, and more. Unlike generic Express starters, Q3 API enforces a specific project structure and integrates its own access control, localization, and job scheduling packages (q3-core-access, q3-locale, q3-core-scheduler). Requires Node 14+.
npm install q3-apiNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic Q3 API server setup with dotenv and default config.
Install mongoose@6.13.8 (the peer dependency version).
Replace with Q3.config({ cors: { origin: true } }) for same behavior.Add ARCHITECTURE=multitenant to your .env file if you need multitenancy.
Place your client code in 'client/' at the project root.
Upgrade Node.js to version 14 or later.
Migrate to the new q3-plugin-billing package when available.
Use require('q3-api') instead of import.Set CONNECTION in your .env file to a valid MongoDB connection string.
Set PORT environment variable to a different value or kill the process using the port.
Ensure your code runs in Node.js, not in a browser.