Architecture of ducktors/turborepo-remote-cache
ducktors/turborepo-remote-cache is 105 source files holding 167 symbols across 5 modules, written mainly in TypeScript, JavaScript, Dockerfile. The largest module is src, with 29 files, and 3 files are entry points into the dependency graph.
How turborepo-remote-cache fits together
The project has three entry points, src/index.ts, src/app.ts and src/cli.ts, which start the server and its command line interface. The server is built on Fastify, as shown by the fastify dependency, and @fastify/jwt handles JWT authentication. Storage backends are connected through the storage plugin in src/plugins/remote-cache/storage, whose index file src/plugins/remote-cache/storage/index.ts is listed among the project's hotspot files. The storage backends use the AWS S3, Azure Blob Storage and Google Cloud Storage client libraries. The src directory holds the server code, and the test directory holds the test suite, including test/jwt-auth.ts and test/azure-blob-storage.ts. The package.json file at the root defines the npm package.
Largest modules
- src: 29 files and 1,998 lines of code
- test: 25 files and 5,444 lines of code
- root: 2 files and 45 lines of code
- .github: 1 file and 26 lines of code
- api: 1 file and 6 lines of code
Languages
By file count: TypeScript 54 files, JavaScript 2 files, Dockerfile 1 file, Shell 1 file.
Documentation
Repowise documents turborepo-remote-cache in 47 pages generated from the source, 10 of them written explanations of the repository and its modules. Module guides include:
- src/plugins/remote-cache/routes: Artifact HTTP Route Handlers
- root: Commit Message Linting
- src: Service Bootstrap and Entry Points
More on turborepo-remote-cache: summary and FAQ, codebase overview, code health.