Skip to content

Folder structure from GitRay

Niklas Schneider edited this page Jun 27, 2025 · 8 revisions
   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—
  β–ˆβ–ˆβ•”β•β•β•β•β• β–ˆβ–ˆβ•‘β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•
  β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• 
  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘  β•šβ–ˆβ–ˆβ•”β•  
  β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   
   β•šβ•β•β•β•β•β• β•šβ•β•   β•šβ•β•   β•šβ•β•  β•šβ•β•β•šβ•β•  β•šβ•β•   β•šβ•β•   
    Official Wiki of the GitRay Repository!

Back to Home


Table of Contents

Description

This is a structure of folder structure from GitRay. It is constantly updated.

Each file deals with:

  • Purpose of the folder / file
  • Content & Responsibilities
  • Important functions & variables
  • Dependencies
  • Note comments in the code

Structure

gitray/
β”œβ”€β”€ package.json
β”œβ”€β”€ pnpm-lock.yaml
β”œβ”€β”€ pnpm-workspace.yaml
β”œβ”€β”€ tsconfig.json
β”œβ”€β”€ vitest.config.ts
β”œβ”€β”€ sonar-project.properties
β”œβ”€β”€ prettier.config.js
β”œβ”€β”€ eslint.config.mjs
β”œβ”€β”€ .npmrc
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .markdownlint-cli2.yaml
β”œβ”€β”€ CLAUDE.md
β”œβ”€β”€ AGENTS.md
β”œβ”€β”€ README.md
β”œβ”€β”€ Strategy.md
β”œβ”€β”€ .backend.log
β”œβ”€β”€ .backend.pid
β”œβ”€β”€ .frontend.log
β”œβ”€β”€ .gitray.log
β”œβ”€β”€ .shared-types.log
β”œβ”€β”€ .shared-types.pid
β”œβ”€β”€ .git/
β”œβ”€β”€ .vscode/
β”œβ”€β”€ .husky/
β”‚   β”œβ”€β”€ pre-commit
β”‚   └── _/
β”‚       β”œβ”€β”€ husky.sh
β”‚       └── .gitignore
β”œβ”€β”€ .github/
β”‚   β”œβ”€β”€ ISSUE_TEMPLATE/
β”‚   β”‚   └── best-practice-issue-template.md
β”‚   └── workflows/
β”‚       └── ci.yml
β”œβ”€β”€ node_modules/
β”œβ”€β”€ locks/
β”œβ”€β”€ logs/
β”‚   β”œβ”€β”€ backend.log
β”‚   β”œβ”€β”€ frontend.log
β”‚   └── shared-types.log
β”œβ”€β”€ prompts/
β”‚   β”œβ”€β”€ comments-enhancement-backend.md
β”‚   └── unit-test-optimization.md
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ end2end_cache_test.sh
β”‚   └── start.sh
β”œβ”€β”€ apps/
β”‚   β”œβ”€β”€ frontend/
β”‚   β”‚   β”œβ”€β”€ package.json
β”‚   β”‚   β”œβ”€β”€ tsconfig.json
β”‚   β”‚   β”œβ”€β”€ tsconfig.app.json
β”‚   β”‚   β”œβ”€β”€ tsconfig.node.json
β”‚   β”‚   β”œβ”€β”€ vite.config.ts
β”‚   β”‚   β”œβ”€β”€ vitest.config.ts
β”‚   β”‚   β”œβ”€β”€ postcss.config.cjs
β”‚   β”‚   β”œβ”€β”€ tailwind.config.cjs
β”‚   β”‚   β”œβ”€β”€ README.md
β”‚   β”‚   β”œβ”€β”€ eslint.config.js
β”‚   β”‚   β”œβ”€β”€ index.html
β”‚   β”‚   β”œβ”€β”€ .gitignore
β”‚   β”‚   β”œβ”€β”€ node_modules/
β”‚   β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”‚   β”œβ”€β”€ main.tsx
β”‚   β”‚   β”‚   β”œβ”€β”€ index.css
β”‚   β”‚   β”‚   β”œβ”€β”€ App.css
β”‚   β”‚   β”‚   β”œβ”€β”€ App.tsx
β”‚   β”‚   β”‚   β”œβ”€β”€ vite-env.d.ts
β”‚   β”‚   β”‚   β”œβ”€β”€ test-setup.ts
β”‚   β”‚   β”‚   β”œβ”€β”€ styles/
β”‚   β”‚   β”‚   β”œβ”€β”€ types/
β”‚   β”‚   β”‚   β”œβ”€β”€ services/
β”‚   β”‚   β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”‚   β”œβ”€β”€ utils/
β”‚   β”‚   β”‚   └── assets/
β”‚   β”‚   β”œβ”€β”€ __tests__/
β”‚   β”‚   β”‚   β”œβ”€β”€ App.test.tsx
β”‚   β”‚   β”‚   β”œβ”€β”€ main.test.tsx
β”‚   β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”‚   β”œβ”€β”€ services/
β”‚   β”‚   β”‚   └── utils/
β”‚   β”‚   └── public/
β”‚   β”‚       β”œβ”€β”€ Logo_Animation_StateMachine_DarkMode.riv
β”‚   β”‚       β”œβ”€β”€ Logo_Animation_StateMachine_LightMode.riv
β”‚   β”‚       └── vite.svg
β”‚   └── backend/
β”‚       β”œβ”€β”€ package.json
β”‚       β”œβ”€β”€ package-lock.json
β”‚       β”œβ”€β”€ tsconfig.json
β”‚       β”œβ”€β”€ vitest.config.ts
β”‚       β”œβ”€β”€ test-config-dynamic.mjs
β”‚       β”œβ”€β”€ .npmrc
β”‚       β”œβ”€β”€ .env.example
β”‚       β”œβ”€β”€ node_modules/
β”‚       β”œβ”€β”€ logs/
β”‚       β”œβ”€β”€ src/
β”‚       β”‚   β”œβ”€β”€ config.ts
β”‚       β”‚   β”œβ”€β”€ index.ts
β”‚       β”‚   β”œβ”€β”€ middlewares/
β”‚       β”‚   β”‚   β”œβ”€β”€ errorHandler.ts
β”‚       β”‚   β”‚   β”œβ”€β”€ memoryPressureMiddleware.ts
β”‚       β”‚   β”‚   β”œβ”€β”€ requestId.ts
β”‚       β”‚   β”‚   └── validation.ts
β”‚       β”‚   β”œβ”€β”€ services/
β”‚       β”‚   β”‚   β”œβ”€β”€ cache.ts
β”‚       β”‚   β”‚   β”œβ”€β”€ distributedCacheInvalidation.ts
β”‚       β”‚   β”‚   β”œβ”€β”€ gitService.ts
β”‚       β”‚   β”‚   β”œβ”€β”€ logger.ts
β”‚       β”‚   β”‚   β”œβ”€β”€ metrics.ts
β”‚       β”‚   β”‚   β”œβ”€β”€ repositoryCache.ts
β”‚       β”‚   β”‚   └── repositoryCoordinator.ts
β”‚       β”‚   β”œβ”€β”€ routes/
β”‚       β”‚   β”‚   β”œβ”€β”€ commitRoutes.ts
β”‚       β”‚   β”‚   β”œβ”€β”€ healthRoutes.ts
β”‚       β”‚   β”‚   β”œβ”€β”€ index.ts
β”‚       β”‚   β”‚   └── repositoryRoutes.ts
β”‚       β”‚   └── utils/
β”‚       β”‚       β”œβ”€β”€ cleanupScheduler.ts
β”‚       β”‚       β”œβ”€β”€ gitUtils.ts
β”‚       β”‚       β”œβ”€β”€ gracefulShutdown.ts
β”‚       β”‚       β”œβ”€β”€ hybridLruCache.ts
β”‚       β”‚       β”œβ”€β”€ lockManager.ts
β”‚       β”‚       β”œβ”€β”€ memoryPressureManager.ts
β”‚       β”‚       β”œβ”€β”€ serializationWorker.ts
β”‚       β”‚       └── withTempRepository.ts
β”‚       β”œβ”€β”€ __tests__/
β”‚       β”‚   β”œβ”€β”€ setup/
β”‚       β”‚   β”‚   β”œβ”€β”€ dotenv.mock.ts
β”‚       β”‚   β”‚   β”œβ”€β”€ global.setup.ts
β”‚       β”‚   β”‚   └── logger.mock.ts
β”‚       β”‚   β”œβ”€β”€ unit/
β”‚       β”‚   β”‚   β”œβ”€β”€ config.unit.test.ts
β”‚       β”‚   β”‚   β”œβ”€β”€ index.unit.test.ts
β”‚       β”‚   β”‚   β”œβ”€β”€ middlewares/
β”‚       β”‚   β”‚   β”œβ”€β”€ routes/
β”‚       β”‚   β”‚   β”œβ”€β”€ services/
β”‚       β”‚   β”‚   └── utils/
β”‚       └── perf/
β”‚           β”œβ”€β”€ examples.sh
β”‚           β”œβ”€β”€ install-k6.sh
β”‚           β”œβ”€β”€ load-test.ts
β”‚           β”œβ”€β”€ README.md
β”‚           β”œβ”€β”€ test-repos.csv
β”‚           └── tsconfig.json
└── packages/
    └── shared-types/
        β”œβ”€β”€ package.json
        β”œβ”€β”€ tsconfig.json
        β”œβ”€β”€ tsconfig.esm.json
        └── src/
            └── index.ts

Clone this wiki locally