Per Corentin's feedback (2026-05-08): .env should be reserved for server-side config (SMTP, DB, OIDC). Branding (name, colors, logo) is admin/UI territory. Changes: - Remove BRAND_NAME / BRAND_LOGO_URL / BRAND_PRIMARY_COLOR / BRAND_ACCENT_COLOR from .env.example, vite.config.ts define block - Hardcode "AcadeDoc" + #2563eb / #7c3aed as defaults in apps/client/src/lib/config.ts and brand-theme.ts - getBrandTheme() now takes optional runtime overrides instead of reading process.env (used by per-workspace branding hook to apply DB-stored colors) - Server getMailFromName() defaults to "AcadeDoc" hardcoded; only MAIL_FROM_NAME env var can override - Fix workspace-branding.spec.ts (was importing vitest in jest project, R4.4 leftover bug, similar to Patch 017 scope) - Fix environment.service.spec.ts (was missing ConfigService provider in TestingModule, pre-existing upstream bug surfaced by jest run) Tests: 13 brand-theme + 13 workspace-branding + 2 environment = 28 green. Per-workspace UI override via /settings/branding (R4.4) works unchanged. Patch 020. |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| .dockerignore | ||
| .gitignore | ||
| .prettierrc | ||
| eslint.config.mjs | ||
| nest-cli.json | ||
| package.json | ||
| README.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||
A progressive Node.js framework for building efficient and scalable server-side applications.
Description
Nest framework TypeScript starter repository.
Installation
$ npm install
Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Migrations
# This creates a new empty migration file named 'init'
$ npm run migration:create --name=init
# Generates 'init' migration file from existing entities to update the database schema
$ npm run migration:generate --name=init
# Runs all pending migrations to update the database schema
$ npm run migration:run
# Reverts the last executed migration
$ npm run migration:revert
# Reverts all migrations
$ npm run migration:revert
# Shows the list of executed and pending migrations
$ npm run migration:show
## Test
```bash
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Support
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
Stay in touch
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
License
Nest is MIT licensed.