# saimaneeshwar/projectbazaar architecture

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

- Interactive diagram: https://gitdiagram.com/saimaneeshwar/projectbazaar
- Repository: https://github.com/saimaneeshwar/projectbazaar

## Overview

CodeXCareer is a React career platform combining placement preparation, career tools, job hunting, and a project/course marketplace. The principal workflow is: a student or professional opens the SPA, authenticates, selects a dashboard mode, submits content or transaction requests through API Gateway, and receives learning material, career output, marketplace fulfillment, or job results. Preparation spans learning, practice, design, targeting, application, and tracking. The graph relies on README architecture and sampled paths; several backend subsystems are represented only at the documented lambda directory level.

Main entry points: [`components/DashboardLayoutWrapper.tsx`](https://github.com/saimaneeshwar/projectbazaar/blob/main/components/DashboardLayoutWrapper.tsx) (Dashboard Shell), [`lambda`](https://github.com/saimaneeshwar/projectbazaar/tree/main/lambda) (Career Functions), [`App.tsx`](https://github.com/saimaneeshwar/projectbazaar/blob/main/App.tsx) (CodeXCareer SPA), [`lambda/payment_webhook.py`](https://github.com/saimaneeshwar/projectbazaar/blob/main/lambda/payment_webhook.py) (Payment Functions)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Client Experience"]
  node_spa["CodeXCareer SPA<br/>[App.tsx]"]
  node_auth["Auth Session<br/>[authStorage.ts]"]
  node_dashboard["Dashboard Shell"]
end

subgraph group_career["Career Workflows"]
  node_prep_ui["Preparation Workspace<br/>[PreparationHub.tsx]"]
  node_career_tools["Career Tools"]
  node_resume_tools["Resume Tools"]
  node_job_hunt["Job Hunt<br/>[JobHuntPage.tsx]"]
end

subgraph group_marketplace["Marketplace Workflows"]
  node_market_ui["Marketplace Browse<br/>[BrowseProjects.tsx]"]
  node_seller_ui["Seller Workspace"]
  node_checkout["Checkout<br/>[CartPage.tsx]"]
end

subgraph group_backend["Backend Services"]
  node_api_gateway["API Gateway"]
  node_auth_lambda["Auth Functions<br/>[login_handler.py]"]
  node_prep_lambda["Preparation Functions"]
  node_career_lambda["Career Functions"]
  node_market_lambda["Marketplace Functions"]
  node_payment_lambda["Payment Functions<br/>[payment_webhook.py]"]
  node_jobs_lambda["Jobs Pipeline"]
end

subgraph group_external["External Services"]
  node_dynamodb[("DynamoDB")]
  node_s3[("S3 Assets")]
  node_razorpay["Razorpay"]
  node_google["Google OAuth"]
  node_judge0["Judge0"]
  node_firecrawl["Firecrawl"]
  node_socket["WebSocket Service"]
  node_sanity["Sanity CMS"]
end

node_student(("Student / Professional"))
node_buyer(("Buyer / Seller"))

node_student -->|"opens"| node_spa
node_buyer -->|"uses"| node_spa
node_spa -->|"reads session"| node_auth
node_spa -->|"renders"| node_dashboard
node_auth -->|"authenticates"| node_auth_lambda
node_auth_lambda -.->|"uses OAuth"| node_google
node_dashboard -->|"opens mode"| node_prep_ui
node_dashboard -->|"opens tools"| node_career_tools
node_dashboard -->|"opens marketplace"| node_market_ui
node_dashboard -->|"opens seller mode"| node_seller_ui
node_prep_ui -->|"requests curriculum"| node_api_gateway
node_career_tools -->|"requests services"| node_api_gateway
node_resume_tools -->|"submits resume"| node_api_gateway
node_job_hunt -->|"requests jobs"| node_api_gateway
node_market_ui -->|"requests listings"| node_api_gateway
node_seller_ui -->|"manages listings"| node_api_gateway
node_checkout -->|"starts payment"| node_api_gateway
node_checkout -->|"opens checkout"| node_razorpay
node_api_gateway -->|"routes auth"| node_auth_lambda
node_api_gateway -->|"routes preparation"| node_prep_lambda
node_api_gateway -->|"routes career"| node_career_lambda
node_api_gateway -->|"routes marketplace"| node_market_lambda
node_api_gateway -->|"routes payment"| node_payment_lambda
node_api_gateway -->|"routes jobs"| node_jobs_lambda
node_prep_lambda -->|"reads curriculum"| node_dynamodb
node_career_lambda -->|"reads and writes"| node_dynamodb
node_career_lambda -->|"stores files"| node_s3
node_career_lambda -.->|"runs code"| node_judge0
node_career_lambda -.->|"supports interviews"| node_socket
node_market_lambda -->|"reads and writes"| node_dynamodb
node_payment_lambda -->|"creates orders"| node_razorpay
node_payment_lambda -->|"activates purchase"| node_dynamodb
node_jobs_lambda -->|"fetches jobs"| node_firecrawl
node_spa -.->|"reads content"| node_sanity

click node_spa "https://github.com/saimaneeshwar/projectbazaar/blob/main/App.tsx"
click node_auth "https://github.com/saimaneeshwar/projectbazaar/blob/main/lib/authStorage.ts"
click node_dashboard "https://github.com/saimaneeshwar/projectbazaar/blob/main/components/DashboardLayoutWrapper.tsx"
click node_prep_ui "https://github.com/saimaneeshwar/projectbazaar/blob/main/components/preparation/PreparationHub.tsx"
click node_career_tools "https://github.com/saimaneeshwar/projectbazaar/blob/main/components/DashboardContent.tsx"
click node_resume_tools "https://github.com/saimaneeshwar/projectbazaar/blob/main/components/resume-builder/ResumeBuilderPage.tsx"
click node_job_hunt "https://github.com/saimaneeshwar/projectbazaar/blob/main/components/JobHuntPage.tsx"
click node_market_ui "https://github.com/saimaneeshwar/projectbazaar/blob/main/components/BrowseProjects.tsx"
click node_seller_ui "https://github.com/saimaneeshwar/projectbazaar/blob/main/components/SellerDashboardPage.tsx"
click node_checkout "https://github.com/saimaneeshwar/projectbazaar/blob/main/components/CartPage.tsx"
click node_auth_lambda "https://github.com/saimaneeshwar/projectbazaar/blob/main/lambda/login_handler.py"
click node_prep_lambda "https://github.com/saimaneeshwar/projectbazaar/tree/main/lambda"
click node_career_lambda "https://github.com/saimaneeshwar/projectbazaar/tree/main/lambda"
click node_market_lambda "https://github.com/saimaneeshwar/projectbazaar/tree/main/lambda"
click node_payment_lambda "https://github.com/saimaneeshwar/projectbazaar/blob/main/lambda/payment_webhook.py"
click node_jobs_lambda "https://github.com/saimaneeshwar/projectbazaar/blob/main/lambda/fetch_jobs_firecrawl.py"

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_spa,node_auth,node_dashboard toneBlue
class node_prep_ui,node_career_tools,node_resume_tools,node_job_hunt toneAmber
class node_market_ui,node_seller_ui,node_checkout toneMint
class node_api_gateway,node_auth_lambda,node_prep_lambda,node_career_lambda,node_market_lambda,node_payment_lambda,node_jobs_lambda toneRose
class node_dynamodb,node_s3,node_razorpay,node_google,node_judge0,node_firecrawl,node_socket,node_sanity,node_student,node_buyer toneIndigo
```

## Components

### Client Experience

- [CodeXCareer SPA](https://github.com/saimaneeshwar/projectbazaar/blob/main/App.tsx): `App.tsx`
- [Auth Session](https://github.com/saimaneeshwar/projectbazaar/blob/main/lib/authStorage.ts): `lib/authStorage.ts`
- [Dashboard Shell](https://github.com/saimaneeshwar/projectbazaar/blob/main/components/DashboardLayoutWrapper.tsx): `components/DashboardLayoutWrapper.tsx`

### Career Workflows

- [Preparation Workspace](https://github.com/saimaneeshwar/projectbazaar/blob/main/components/preparation/PreparationHub.tsx): `components/preparation/PreparationHub.tsx`
- [Career Tools](https://github.com/saimaneeshwar/projectbazaar/blob/main/components/DashboardContent.tsx): `components/DashboardContent.tsx`
- [Resume Tools](https://github.com/saimaneeshwar/projectbazaar/blob/main/components/resume-builder/ResumeBuilderPage.tsx): `components/resume-builder/ResumeBuilderPage.tsx`
- [Job Hunt](https://github.com/saimaneeshwar/projectbazaar/blob/main/components/JobHuntPage.tsx): `components/JobHuntPage.tsx`

### Marketplace Workflows

- [Marketplace Browse](https://github.com/saimaneeshwar/projectbazaar/blob/main/components/BrowseProjects.tsx): `components/BrowseProjects.tsx`
- [Seller Workspace](https://github.com/saimaneeshwar/projectbazaar/blob/main/components/SellerDashboardPage.tsx): `components/SellerDashboardPage.tsx`
- [Checkout](https://github.com/saimaneeshwar/projectbazaar/blob/main/components/CartPage.tsx): `components/CartPage.tsx`

### Backend Services

- **API Gateway**
- [Auth Functions](https://github.com/saimaneeshwar/projectbazaar/blob/main/lambda/login_handler.py): `lambda/login_handler.py`
- [Preparation Functions](https://github.com/saimaneeshwar/projectbazaar/tree/main/lambda): `lambda`
- [Career Functions](https://github.com/saimaneeshwar/projectbazaar/tree/main/lambda): `lambda`
- [Marketplace Functions](https://github.com/saimaneeshwar/projectbazaar/tree/main/lambda): `lambda`
- [Payment Functions](https://github.com/saimaneeshwar/projectbazaar/blob/main/lambda/payment_webhook.py): `lambda/payment_webhook.py`
- [Jobs Pipeline](https://github.com/saimaneeshwar/projectbazaar/blob/main/lambda/fetch_jobs_firecrawl.py): `lambda/fetch_jobs_firecrawl.py`

### External Services

- **DynamoDB**
- **S3 Assets**
- **Razorpay**
- **Google OAuth**
- **Judge0**
- **Firecrawl**
- **WebSocket Service**
- **Sanity CMS**

### Other components

- **Student / Professional**
- **Buyer / Seller**

## Connections

- Student / Professional → CodeXCareer SPA: opens
- Buyer / Seller → CodeXCareer SPA: uses
- CodeXCareer SPA → Auth Session: reads session
- CodeXCareer SPA → Dashboard Shell: renders
- Auth Session → Auth Functions: authenticates
- Auth Functions → Google OAuth: uses OAuth
- Dashboard Shell → Preparation Workspace: opens mode
- Dashboard Shell → Career Tools: opens tools
- Dashboard Shell → Marketplace Browse: opens marketplace
- Dashboard Shell → Seller Workspace: opens seller mode
- Preparation Workspace → API Gateway: requests curriculum
- Career Tools → API Gateway: requests services
- Resume Tools → API Gateway: submits resume
- Job Hunt → API Gateway: requests jobs
- Marketplace Browse → API Gateway: requests listings
- Seller Workspace → API Gateway: manages listings
- Checkout → API Gateway: starts payment
- Checkout → Razorpay: opens checkout
- API Gateway → Auth Functions: routes auth
- API Gateway → Preparation Functions: routes preparation
- API Gateway → Career Functions: routes career
- API Gateway → Marketplace Functions: routes marketplace
- API Gateway → Payment Functions: routes payment
- API Gateway → Jobs Pipeline: routes jobs
- Preparation Functions → DynamoDB: reads curriculum
- Career Functions → DynamoDB: reads and writes
- Career Functions → S3 Assets: stores files
- Career Functions → Judge0: runs code
- Career Functions → WebSocket Service: supports interviews
- Marketplace Functions → DynamoDB: reads and writes
- Payment Functions → Razorpay: creates orders
- Payment Functions → DynamoDB: activates purchase
- Jobs Pipeline → Firecrawl: fetches jobs
- CodeXCareer SPA → Sanity CMS: reads content
