# sakshigaikwad05/startup-finder architecture

> Architecture diagram of the GitHub repository sakshigaikwad05/startup-finder, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sakshigaikwad05/startup-finder
- Repository: https://github.com/sakshigaikwad05/startup-finder

## Overview

Daily Startup Finder is a multi-user startup and job discovery app. A visitor sets up a profile (including optional resume parsing), triggers or reuses a shared discovery run, then browses startups and jobs with per-user matching, filters, pins, and application tracking. The README documents funding, company-careers, YC, Himalayas, open-source, and optional search capabilities. Some implementation details were not sampled; documented links use README evidence, while source-level links are limited to shown references.

Main entry points: [`sources/index.ts`](https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/index.ts) (Source registry), [`components/api.ts`](https://github.com/sakshigaikwad05/startup-finder/blob/main/components/api.ts) (Browser API client), [`lib/http.ts`](https://github.com/sakshigaikwad05/startup-finder/blob/main/lib/http.ts) (Polite HTTP), [`app/api/discover/route.ts`](https://github.com/sakshigaikwad05/startup-finder/blob/main/app/api/discover/route.ts) (Run discovery)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_profile["Profiles and matching"]
  node_onboarding["Profile setup<br/>[page.tsx]"]
  node_profile_api["Profile API<br/>[route.ts]"]
  node_resume["Resume parsing<br/>[parse.ts]"]
  node_matching["Profile matching<br/>[index.ts]"]
end

subgraph group_discovery["Discovery sources"]
  node_discovery_api["Run discovery<br/>[route.ts]"]
  node_source_registry["Source registry<br/>[index.ts]"]
  node_yc["YC companies<br/>[index.ts]"]
  node_company_careers["Company careers<br/>[index.ts]"]
  node_funding["Funding news<br/>[index.ts]"]
  node_himalayas["Remote jobs<br/>[himalayas.ts]"]
  node_search["ATS search<br/>[index.ts]"]
  node_open_source["Open-source projects<br/>[index.ts]"]
  node_http["Polite HTTP<br/>[http.ts]"]
end

subgraph group_data["Storage and discovery"]
  node_store["Discovery storage<br/>[store.ts]"]
  node_database[("PostgreSQL<br/>[index.ts]")]
end

subgraph group_experience["Browsing and tracking"]
  node_dashboard["Startup dashboard<br/>[Dashboard.tsx]"]
  node_startup_detail["Startup details<br/>[page.tsx]"]
  node_jobs_page["Jobs browser<br/>[page.tsx]"]
  node_applications["Application tracker<br/>[page.tsx]"]
  node_filters["Discovery filters<br/>[Filters.tsx]"]
  node_api_client["Browser API client<br/>[api.ts]"]
end

node_visitor(("Visitor"))
node_frankfurter["Frankfurter rates"]
node_brave["Brave Search API"]

node_visitor -->|"sets profile"| node_onboarding
node_onboarding -->|"submits profile"| node_api_client
node_api_client -->|"calls profile API"| node_profile_api
node_profile_api -->|"parses resume"| node_resume
node_visitor -->|"starts search"| node_discovery_api
node_discovery_api -->|"runs sources"| node_source_registry
node_source_registry -->|"dispatches"| node_yc
node_source_registry -->|"dispatches"| node_company_careers
node_source_registry -->|"dispatches"| node_funding
node_source_registry -->|"dispatches"| node_himalayas
node_source_registry -->|"dispatches"| node_search
node_source_registry -->|"dispatches"| node_open_source
node_yc -->|"fetches pages"| node_http
node_company_careers -->|"fetches sites"| node_http
node_funding -->|"fetches feeds"| node_http
node_search -->|"searches boards"| node_http
node_source_registry -->|"stores results"| node_store
node_store -.->|"persists data"| node_database
node_discovery_api -->|"uses database"| node_database
node_dashboard -.->|"loads results"| node_api_client
node_startup_detail -.->|"loads startup data"| node_api_client
node_jobs_page -->|"loads jobs"| node_api_client
node_applications -->|"loads applications"| node_api_client
node_dashboard -->|"shows scores"| node_matching
node_jobs_page -->|"uses filters"| node_filters
node_visitor -->|"tracks applications"| node_applications
node_funding -.->|"converts amounts"| node_frankfurter
node_search -.->|"queries optionally"| node_brave

click node_onboarding "https://github.com/sakshigaikwad05/startup-finder/blob/main/app/onboarding/page.tsx"
click node_profile_api "https://github.com/sakshigaikwad05/startup-finder/blob/main/app/api/me/route.ts"
click node_resume "https://github.com/sakshigaikwad05/startup-finder/blob/main/lib/resume/parse.ts"
click node_matching "https://github.com/sakshigaikwad05/startup-finder/blob/main/lib/matching/index.ts"
click node_discovery_api "https://github.com/sakshigaikwad05/startup-finder/blob/main/app/api/discover/route.ts"
click node_source_registry "https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/index.ts"
click node_yc "https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/yc/index.ts"
click node_company_careers "https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/company/index.ts"
click node_funding "https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/funding/index.ts"
click node_himalayas "https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/jobs/himalayas.ts"
click node_search "https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/search/index.ts"
click node_open_source "https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/oss/index.ts"
click node_http "https://github.com/sakshigaikwad05/startup-finder/blob/main/lib/http.ts"
click node_store "https://github.com/sakshigaikwad05/startup-finder/blob/main/lib/discovery/store.ts"
click node_database "https://github.com/sakshigaikwad05/startup-finder/blob/main/lib/database/index.ts"
click node_dashboard "https://github.com/sakshigaikwad05/startup-finder/blob/main/components/Dashboard.tsx"
click node_startup_detail "https://github.com/sakshigaikwad05/startup-finder/blob/main/app/startups/%5Bid%5D/page.tsx"
click node_jobs_page "https://github.com/sakshigaikwad05/startup-finder/blob/main/app/jobs/page.tsx"
click node_applications "https://github.com/sakshigaikwad05/startup-finder/blob/main/app/applications/page.tsx"
click node_filters "https://github.com/sakshigaikwad05/startup-finder/blob/main/components/Filters.tsx"
click node_api_client "https://github.com/sakshigaikwad05/startup-finder/blob/main/components/api.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_onboarding,node_profile_api,node_resume,node_matching toneBlue
class node_discovery_api,node_source_registry,node_yc,node_company_careers,node_funding,node_himalayas,node_search,node_open_source,node_http toneAmber
class node_store,node_database,node_brave toneMint
class node_dashboard,node_startup_detail,node_jobs_page,node_applications,node_filters,node_api_client toneRose
class node_visitor,node_frankfurter toneIndigo
```

## Components

### Profiles and matching

- [Profile setup](https://github.com/sakshigaikwad05/startup-finder/blob/main/app/onboarding/page.tsx): `app/onboarding/page.tsx`
- [Profile API](https://github.com/sakshigaikwad05/startup-finder/blob/main/app/api/me/route.ts): `app/api/me/route.ts`
- [Resume parsing](https://github.com/sakshigaikwad05/startup-finder/blob/main/lib/resume/parse.ts): `lib/resume/parse.ts`
- [Profile matching](https://github.com/sakshigaikwad05/startup-finder/blob/main/lib/matching/index.ts): `lib/matching/index.ts`

### Discovery sources

- [Run discovery](https://github.com/sakshigaikwad05/startup-finder/blob/main/app/api/discover/route.ts): `app/api/discover/route.ts`
- [Source registry](https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/index.ts): `sources/index.ts`
- [YC companies](https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/yc/index.ts): `sources/yc/index.ts`
- [Company careers](https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/company/index.ts): `sources/company/index.ts`
- [Funding news](https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/funding/index.ts): `sources/funding/index.ts`
- [Remote jobs](https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/jobs/himalayas.ts): `sources/jobs/himalayas.ts`
- [ATS search](https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/search/index.ts): `sources/search/index.ts`
- [Open-source projects](https://github.com/sakshigaikwad05/startup-finder/blob/main/sources/oss/index.ts): `sources/oss/index.ts`
- [Polite HTTP](https://github.com/sakshigaikwad05/startup-finder/blob/main/lib/http.ts): `lib/http.ts`

### Storage and discovery

- [Discovery storage](https://github.com/sakshigaikwad05/startup-finder/blob/main/lib/discovery/store.ts): `lib/discovery/store.ts`
- [PostgreSQL](https://github.com/sakshigaikwad05/startup-finder/blob/main/lib/database/index.ts): `lib/database/index.ts`

### Browsing and tracking

- [Startup dashboard](https://github.com/sakshigaikwad05/startup-finder/blob/main/components/Dashboard.tsx): `components/Dashboard.tsx`
- [Startup details](https://github.com/sakshigaikwad05/startup-finder/blob/main/app/startups/%5Bid%5D/page.tsx): `app/startups/[id]/page.tsx`
- [Jobs browser](https://github.com/sakshigaikwad05/startup-finder/blob/main/app/jobs/page.tsx): `app/jobs/page.tsx`
- [Application tracker](https://github.com/sakshigaikwad05/startup-finder/blob/main/app/applications/page.tsx): `app/applications/page.tsx`
- [Discovery filters](https://github.com/sakshigaikwad05/startup-finder/blob/main/components/Filters.tsx): `components/Filters.tsx`
- [Browser API client](https://github.com/sakshigaikwad05/startup-finder/blob/main/components/api.ts): `components/api.ts`

### Other components

- **Visitor**
- **Frankfurter rates**
- **Brave Search API**

## Connections

- Visitor → Profile setup: sets profile (evidence: `README.md`)
- Profile setup → Browser API client: submits profile (evidence: `app/onboarding/page.tsx`)
- Browser API client → Profile API: calls profile API (evidence: `app/api/me/route.ts`)
- Profile API → Resume parsing: parses resume (evidence: `app/api/me/route.ts`)
- Visitor → Run discovery: starts search (evidence: `README.md`)
- Run discovery → Source registry: runs sources (evidence: `README.md`)
- Source registry → YC companies: dispatches (evidence: `README.md`)
- Source registry → Company careers: dispatches (evidence: `README.md`)
- Source registry → Funding news: dispatches (evidence: `README.md`)
- Source registry → Remote jobs: dispatches (evidence: `README.md`)
- Source registry → ATS search: dispatches (evidence: `README.md`)
- Source registry → Open-source projects: dispatches (evidence: `README.md`)
- YC companies → Polite HTTP: fetches pages (evidence: `sources/yc/index.ts`)
- Company careers → Polite HTTP: fetches sites (evidence: `sources/company/index.ts`)
- Funding news → Polite HTTP: fetches feeds (evidence: `sources/funding/index.ts`)
- ATS search → Polite HTTP: searches boards (evidence: `sources/search/index.ts`)
- Source registry → Discovery storage: stores results (evidence: `README.md`)
- Discovery storage → PostgreSQL: persists data
- Run discovery → PostgreSQL: uses database (evidence: `app/api/discover/route.ts`)
- Startup dashboard → Browser API client: loads results
- Startup details → Browser API client: loads startup data
- Jobs browser → Browser API client: loads jobs (evidence: `app/jobs/page.tsx`)
- Application tracker → Browser API client: loads applications (evidence: `app/applications/page.tsx`)
- Startup dashboard → Profile matching: shows scores (evidence: `README.md`)
- Jobs browser → Discovery filters: uses filters (evidence: `app/jobs/page.tsx`)
- Visitor → Application tracker: tracks applications (evidence: `README.md`)
- Funding news → Frankfurter rates: converts amounts (evidence: `README.md`)
- ATS search → Brave Search API: queries optionally (evidence: `README.md`)
