Create a new service container with all dependencies wired.
This is the composition root for the application. All service dependencies are resolved here, making the dependency graph explicit and testable.
A fully configured service container
// Production usage (in index.ts)const container = createServiceContainer();const config = container.configService.getConfig();// Test usage with custom servicesconst mockEccProvider = new EccProvider();const mockPkiService = new PkiService(mockEccProvider); Copy
// Production usage (in index.ts)const container = createServiceContainer();const config = container.configService.getConfig();// Test usage with custom servicesconst mockEccProvider = new EccProvider();const mockPkiService = new PkiService(mockEccProvider);
Create a new service container with all dependencies wired.
This is the composition root for the application. All service dependencies are resolved here, making the dependency graph explicit and testable.