Files
local/frontend/lib/mock-data.ts
2025-12-01 02:29:08 +01:00

92 lines
2.5 KiB
TypeScript

import type { Project, StackCategory } from "./types"
// Mock data store - will be replaced with API calls
export const mockProjects: Project[] = [
{
id: "1",
name: "crowware.com",
role: "Co-founder & Backend Lead",
description:
"A developer tools platform built for teams who ship. I designed and built the core backend infrastructure from scratch.",
highlights: [
"Distributed API architecture handling 10k+ requests/sec",
"PostgreSQL with custom indexing strategy for complex queries",
"Event-driven microservices with Redis pub/sub",
"Zero-downtime deployments with blue-green strategy",
"Comprehensive observability stack (Prometheus, Grafana, OpenTelemetry)",
],
stack: ["Go", "PostgreSQL", "Redis", "Kubernetes", "Terraform"],
website: "https://crowware.com",
github: null,
featured: true,
},
{
id: "2",
name: "api-gateway",
role: "Creator",
description:
"High-performance API gateway with rate limiting, auth, and request transformation. Built for internal use, battle-tested in production.",
highlights: [],
stack: ["Go", "Redis", "Docker"],
website: null,
github: "#",
featured: false,
},
{
id: "3",
name: "pg-migrate",
role: "Creator",
description:
"Zero-downtime PostgreSQL migration tool. Handles large tables without locking, with automatic rollback support.",
highlights: [],
stack: ["Python", "PostgreSQL"],
website: null,
github: "#",
featured: false,
},
{
id: "4",
name: "logpipe",
role: "Creator",
description: "Structured logging pipeline that routes logs to multiple destinations based on severity and content.",
highlights: [],
stack: ["Rust", "Kafka"],
website: null,
github: "#",
featured: false,
},
]
export const mockStackCategories: StackCategory[] = [
{
id: "1",
title: "Backend",
items: ["Go", "Python", "Node.js", "Rust"],
},
{
id: "2",
title: "Databases",
items: ["PostgreSQL", "Redis", "SQLite", "ClickHouse"],
},
{
id: "3",
title: "Infrastructure",
items: ["Docker", "Kubernetes", "Terraform", "AWS"],
},
{
id: "4",
title: "APIs & Protocols",
items: ["REST", "GraphQL", "gRPC", "WebSockets"],
},
{
id: "5",
title: "Observability",
items: ["Prometheus", "Grafana", "OpenTelemetry", "Sentry"],
},
{
id: "6",
title: "Tooling",
items: ["Git", "CI/CD", "Make", "Nix"],
},
]