This repository contains the official development presets and architectural standards for the QuCore Dynamic ecosystem. Use these templates to build new modules, integrations, or to extend the core infrastructure while maintaining strict code consistency.
Warning: All presets are synchronized with the global QuCore linting policy: Strict Backticks and Zero Semicolons.
| Preset | Path | Purpose | License |
|---|---|---|---|
| Backend Core | /back |
Isolated Node.js services and API modules. | GPL-3.0 |
| Frontend Core | /front |
Next.js interfaces for the ecosystem. | GPL-3.0 |
- Runtime: Node.js 22+
- Language: TypeScript (Strict Mode)
- Linter: ESLint 9+ (QuCore Elite Config)
- Style: Backticks-only, Zero semicolons.
Before running any module, you must replace the following placeholders across files (Docker Compose, .env, package.json, config.ts, etc):
<MODULE_NAME>: The functional name of the module (e.g.,auth,workspace). This defines the project identity and subdomains.<SERVICE_NAME>: The specific name of the microservice or Docker container within the stack.<SERVICE_PORT>: The port on which the specific microservice is exposed.
To create a new module using a preset without git history:
# For a Backend module
npx degit qucore-dynamic/qucore-presets/back qucore-module-name
# For a Frontend module
npx degit qucore-dynamic/qucore-presets/front qucore-app-nameCrucial step before running the application. The configuration is split into two logic blocks within your .env files.
# Create your local environment file from the template
cp .env.example .env
# Open .env and follow the instructions inside:
# 1. Fill BLOCK #1 for local development (npm run dev).
# 2. Fill BLOCK #2 for Docker overrides in .env.prod.
# 3. Replace <MODULE_NAME>, <SERVICE_NAME>, and <SERVICE_PORT>.Standard procedure for running a module locally:
# Install dependencies
npm install
# Setup environment
cp .env.example .env
# Backend only: Generate Prisma client
npx prisma generate
# Run in development mode
npm run devThe infrastructure supports flexible deployment via Docker Compose.
Commands should be executed relative to the back/docker directory:
# Run infrastructure only (DB, Redis, etc.)
docker-compose -f docker-compose.infra.yml up -d
# Run the service in development mode
docker-compose -f docker-compose.dev.yml up -d --build
# Run in production
docker-compose -f docker-compose.prod.yml up -dExecute from the front directory:
# Development mode
docker-compose -f docker-compose.dev.yml up -d
# Production mode
docker-compose -f docker-compose.prod.yml up -d --buildWe are building an open but strictly structured ecosystem:
- Read the CONTRIBUTING.md - it defines the "Elite" style guide.
- Ensure your code passes the check:
npm run lint. - Open a Pull Request to the appropriate branch.
The QuCore Dynamic project and these presets are created and maintained by Artem Zhytovoz. Distributed under the GNU GPL v3 license.
Every line of code is a step toward global technological leverage.