backend/scripts
Contains reusable scripts for backend automation, like running migrations and generating SQL schemas.
backend/e2e-test
Integration tests for the APIs.
backend/src
The source code of the backend.
@types
: Type definitions for libraries like Fastify and Knex.db
: Knex.js configuration for the database, including migration, seed files, and SQL type schemas.lib
: Stateless, reusable functions used across the codebase.queue
: Infisical’s queue system based on BullMQ.src/server
src/services
Handles the core business logic for all operations.
Follows the co-location principle: related components should be kept together.
Each service component typically contains:
secret-queue.ts
.src/ee
Follows the same pattern as above, with the exception of a license change from MIT to Infisical Proprietary License.
/src/server/routes/index.ts
, following the principle of simple dependency injection.npm run lint:fix
and type-checked with npm run type:check
.audit-log
that require access to request object data.backend/scripts
Contains reusable scripts for backend automation, like running migrations and generating SQL schemas.
backend/e2e-test
Integration tests for the APIs.
backend/src
The source code of the backend.
@types
: Type definitions for libraries like Fastify and Knex.db
: Knex.js configuration for the database, including migration, seed files, and SQL type schemas.lib
: Stateless, reusable functions used across the codebase.queue
: Infisical’s queue system based on BullMQ.src/server
src/services
Handles the core business logic for all operations.
Follows the co-location principle: related components should be kept together.
Each service component typically contains:
secret-queue.ts
.src/ee
Follows the same pattern as above, with the exception of a license change from MIT to Infisical Proprietary License.
/src/server/routes/index.ts
, following the principle of simple dependency injection.npm run lint:fix
and type-checked with npm run type:check
.audit-log
that require access to request object data.