← Project archive

DevGraph — Repository Discovery & Issue Indexing Platform

Repository discovery built around a connected user–repository–issue graph. Independent feed snapshots and local search state keep discovery responsive without refetching on every keystroke.

The problem

Make personal and suggested repositories navigable, with repository documents linked to owners and issues.

My contribution

Designed repository relationships and owner/issue population queries, added creation-time name and owner validation, and separated personal repositories from discovery and local search state.

DevGraph repository explorer showing repository discovery and issue records

Product features

  • Personal and suggested repository listings
  • MongoDB repository ownership and issue relationships
  • Repository create, update, visibility, and delete handlers
  • Client-side repository name filtering and account login
Explore workspace

Engineering work

  • Request orchestration & result reuse: Loaded personal and suggested repository feeds into independent client state, reusing those results during local searches without repeated API polling.
  • Search state & document graph resolution: Separated the name query from feed state while Mongoose references and population resolve repository owners and linked issues.
  • Deterministic feed boundaries: Kept personal and discovery results independently addressable, with explicit repository visibility operations and creation-time identity validation.

Outcome

Resolved repository owners and issues through document relationships while reusing loaded feed results for local search, avoiding a network request per keystroke.

Architecture & tech stack

Design decision

Load personal and suggested repository feeds independently and filter the loaded personal feed by name in client state.

Filtering the loaded array avoids a network request on each keystroke. Results cover the personal feed already in memory and refresh when that feed reloads.

Failure handling & recovery

Repository creation rejects missing names and malformed owner identifiers.

Data flow Loaded feed + search query → filtered repository names

Implementation Separate personal and discovery state with local name filtering

Express repository routes and MongoDB relationships support client-side discovery and filtering.
Read the complete data flow
React repository explorer
Separate personal and discovery state with local name filtering
Loaded feed + search query → filtered repository names
Express REST handlers
Repository creation, lookup, content, visibility, and delete operations
Repository action → dedicated REST handler
Owner-specific queries
Required names and owner ObjectId validation during creation
Creation name + owner identifier → validated input
MongoDB relationships
Mongoose references and owner/issue document population
Repository document → populated owner / issue references
Repository + profile views
Resolved repository records and developer account screens
Resolved records → personal or discovery workspace