Appearance
Shared Package
The shared package contains utilities and configurations that are shared across multiple services.
Contents
- Logger: A shared logger configuration.
- Middleware: Shared middleware for things like error handling.
- Types: Shared TypeScript types and interfaces.
- Utils: Shared utility functions.
Structure
The shared package is located in the packages/shared directory.
packages/shared
├── src
│ ├── index.ts
│ ├── logger.ts
│ ├── middleware.ts
│ ├── types.ts
│ └── utils.ts
├── env.ts
├── eslint.config.js
├── package.json
└── tsconfig.json