10 templates · 20,900 total stars

Template Marketplace

Community-built templates for algorithms, system design, interviews, and full-stack starters. Fork for free or buy premium bundles.

Premium bundles

// Consistent Hashing Ring
class HashRing {
  private nodes = new Map<number, string>();
  add(node: string, replicas = 150) {
    for (let i = 0; i < replicas; i++) {
      const hash = this.hash(`${node}:${i}`);
      this.nodes.set(hash, node);
    }
  }
}
$10

Distributed Systems Interview Kit

TypeScriptHard

10-room bundle: consistent hashing, Raft consensus, vector clocks, Paxos, CRDTs, sharding, replication, CAP theorem, and two full mock interviews.

644
C
collabdev
// app/layout.tsx
export default function RootLayout({ children }) {
  return (
    <AuthProvider>
      <StripeProvider>
        <AnalyticsProvider>
          {children}
        </AnalyticsProvider>
      </StripeProvider>
    </AuthProvider>
  );
}
$20

Full-Stack SaaS Starter

TypeScriptIntermediate

Production-ready SaaS template: Next.js 15, Supabase auth, Stripe billing, admin dashboard, and feature flags. 2,400 lines of opinionated scaffolding.

521
C
collabcode
def two_sum(nums, target):
    seen = {}
    for i, n in enumerate(nums):
        if target - n in seen:
            return [seen[target-n], i]
        seen[n] = i
$10

Two Sum

PythonEasy

Classic array hashing problem. O(n) time, O(n) space. Great for interview warm-ups.

387
C
collabcode
// STAR Template
// Situation: What was the context?
// Task:       What were you responsible for?
// Action:     What steps did you take?
// Result:     What was the outcome?
$10

Behavioral Interview Kit

TypeScriptBeginner

STAR method templates, common behavioral questions, and a structured note-taking workspace for interviewers.

421
A
arhamafaridi
// API Design
POST /shorten  { url: string } -> { short: string }
GET  /:code    -> 301 redirect

// Capacity
// 100M URLs/day, 500B reads/day
$10

URL Shortener Design

TypeScriptMedium

Full system design workspace: API spec, database schema, caching layer, and load balancing notes.

211
A
arhamafaridi
export function Dashboard() {
  return (
    <Layout>
      <Sidebar />
      <main>
        <StatsGrid />
        <DataTable />
      </main>
    </Layout>
  );
}
$10

React Dashboard Starter

TypeScriptBeginner

Component structure for a SaaS dashboard — sidebar, topbar, stats cards, and data table.

312
C
collabdev
class LRUCache:
    def __init__(self, cap):
        self.cap = cap
        self.cache = {}
        self.head = Node()
        self.tail = Node()
$10

LRU Cache

PythonMedium

Doubly-linked list + hash map combo. O(1) get/put. Core data structure interview question.

198
C
collabcode
type Node struct {
    Val   int
    Left  *Node
    Right *Node
}

func Insert(root *Node, val int) *Node {
$10

Binary Search Tree

GoMedium

Full BST with insert, delete, search, in-order traversal. Covers recursive and iterative approaches.

144
C
collabdev
class TokenBucket {
  constructor(
    private capacity: number,
    private refillRate: number
  ) {}

  consume(tokens = 1): boolean {
$10

Rate Limiter

TypeScriptHard

Token bucket and sliding window algorithms. Redis-backed implementation for distributed systems.

129
C
collabdev
FROM golang:1.22-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -o /bin/app
$10

Dockerfile Best Practices

GoIntermediate

Multi-stage build, layer caching, non-root user, health checks, and security scanning patterns.

97
C
collabdev

Featured

// Consistent Hashing Ring
class HashRing {
  private nodes = new Map<number, string>();
  add(node: string, replicas = 150) {
    for (let i = 0; i < replicas; i++) {
      const hash = this.hash(`${node}:${i}`);
      this.nodes.set(hash, node);
    }
  }
}
$10

Distributed Systems Interview Kit

TypeScriptHard

10-room bundle: consistent hashing, Raft consensus, vector clocks, Paxos, CRDTs, sharding, replication, CAP theorem, and two full mock interviews.

644
C
collabdev
// app/layout.tsx
export default function RootLayout({ children }) {
  return (
    <AuthProvider>
      <StripeProvider>
        <AnalyticsProvider>
          {children}
        </AnalyticsProvider>
      </StripeProvider>
    </AuthProvider>
  );
}
$20

Full-Stack SaaS Starter

TypeScriptIntermediate

Production-ready SaaS template: Next.js 15, Supabase auth, Stripe billing, admin dashboard, and feature flags. 2,400 lines of opinionated scaffolding.

521
C
collabcode
def two_sum(nums, target):
    seen = {}
    for i, n in enumerate(nums):
        if target - n in seen:
            return [seen[target-n], i]
        seen[n] = i
$10

Two Sum

PythonEasy

Classic array hashing problem. O(n) time, O(n) space. Great for interview warm-ups.

387
C
collabcode
// STAR Template
// Situation: What was the context?
// Task:       What were you responsible for?
// Action:     What steps did you take?
// Result:     What was the outcome?
$10

Behavioral Interview Kit

TypeScriptBeginner

STAR method templates, common behavioral questions, and a structured note-taking workspace for interviewers.

421
A
arhamafaridi
// API Design
POST /shorten  { url: string } -> { short: string }
GET  /:code    -> 301 redirect

// Capacity
// 100M URLs/day, 500B reads/day
$10

URL Shortener Design

TypeScriptMedium

Full system design workspace: API spec, database schema, caching layer, and load balancing notes.

211
A
arhamafaridi
class TokenBucket {
  constructor(
    private capacity: number,
    private refillRate: number
  ) {}

  consume(tokens = 1): boolean {
$10

Rate Limiter

TypeScriptHard

Token bucket and sliding window algorithms. Redis-backed implementation for distributed systems.

129
C
collabdev

Top creators

1
C
collabcodeOfficial

12 templates · 8,400

2
C
collabdevPro

8 templates · 5,200

3
A
arhamafaridi

6 templates · 3,100

4
C
collabdev

5 templates · 2,800

5
C
collabdev

4 templates · 1,400