New
Apps 6,367Makers 6,346This week 13
Promote your app−30%
MockClub screenshot 1
4views in
the last 30 days

MockClub

An open-source, volunteer-run platform for free mock interviews and practice sessions

Built with Claude Code

by kolinabir · Unclaimed · from BDBangladesh · added Oct 29, 2026
no ratings0 comments

MockClub

Made by devs, for everyone.

Free mock interviews and practice sessions with real people. No AI. No payments. No catch — ever.


What this is

A volunteer-run club where working professionals give an hour to practise interviews with people trying to break in. It started as a WhatsApp group of developers who kept seeing the same thing: good people failing interviews they were qualified for, and nobody able to afford $150–$339/hour to practise.

It is not a business. It never will be. That promise is enforced by the licence (AGPL-3.0) and by the code — there is no payment table, no Stripe integration, and no premium tier anywhere in this repository.

Principles

🆓 Always free No card, no credits for sale, no premium tier. Ever.
🧑 Humans only Every session is one person talking to another. We will not add AI interviewers.
🌍 Every language Language is a first-class matching dimension, not an afterthought.
👐 Open source AGPL-3.0, so nobody — including us — can close it or sell it.
🎯 Everyone Engineers, founders, marketers, designers, PMs, data folks.

Status

Phase 0 — pre-launch. We are building signup and gathering interviewers. Booking opens when there are enough volunteers to fill a calendar, and not before — an empty booking page helps nobody.

Progress and the full technical plan live in PLAN.md.

Stack

Layer Choice Why
Framework Next.js 16 (App Router) One app, one deploy
Language TypeScript —
Database MongoDB Atomic slot claims via findOneAndUpdate
Auth Better Auth Free RBAC, bans, rate limiting
UI Tailwind v4 + shadcn/ui (radix-nova, RTL on) RTL matters for Arabic/Urdu
Video Self-hosted Jitsi (primary) + Google Meet (opportunistic) See PLAN.md §6
Calendar Google Calendar API Free invites and reminders
Dates Intl-based wrapper in src/lib/time → Temporal later Zero dependencies today, one swap point when Temporal ships

There is no separate backend service. Next.js route handlers and server actions are the backend. See Architecture for why, and where the seam is if that ever needs to change.

Getting started

git clone https://github.com/kolinabir/mockclub.git
cd mockclub
npm install
cp .env.example .env.local     # fill in the values, see comments in the file
npm run dev

Open http://localhost:3000.

You need Node 24 (see .nvmrc) and a MongoDB connection string. A free Atlas M0 cluster is enough — and note it is a replica set, which local standalone mongod is not, so transactions only work against Atlas or a local replica set.

Node 24 is a hard floor, not a preference: npm test runs TypeScript through Node directly, which needs unflagged type stripping (22.18+) and module.registerHooks (22.15+). On Node 20 the test step cannot even parse.

Everything in .env.example except MONGODB_URI, BETTER_AUTH_SECRET and the Google OAuth pair is optional for local work. With no SMTP settings, mail is disabled rather than broken — the signup flow runs end to end and the log records what would have been sent.

Making yourself an admin

Better Auth has no bootstrap admin. Sign in with Google once so the account exists, then promote it:

node scripts/set-role.mjs you@example.com candidate,interviewer,admin

That is the only way to reach /dashboard/admin. The script reads MONGODB_URI from .env.local.

Architecture

What is actually in the repo today. Booking, video and calendar are designed but not yet built — see PLAN.md for where they land.

src/
├─ app/                  # routes only — thin. No business logic here.
│  ├─ about/             # public marketing pages (the landing page is app/page.tsx)
│  ├─ sign-in/           # Google sign-in
│  ├─ onboarding/        # role choice + the four profile steps
│  ├─ dashboard/         # authenticated product, incl. dashboard/admin
│  └─ api/               # OAuth callbacks (Better Auth) and cron
├─ components/
│  ├─ ui/                # shadcn primitives — do not hand-edit, regenerate
│  └─ */                 # our components
├─ server/               # ALL business logic lives here
│  ├─ availability/      # recurring rules, validation
│  ├─ scheduling/        # rules → slots. Pure functions, heavily tested.
│  ├─ auth/              # roles, Better Auth wiring
│  ├─ onboarding/        # role assignment + step persistence
│  ├─ profile/           # member profiles and completeness checks
│  ├─ email/             # SMTP transport + templates
│  ├─ admin/             # the member view behind /dashboard/admin
│  ├─ users/             # user-document filters (see the note in users.ts)
│  ├─ waitlist/          # READ-ONLY archive of the closed pre-signup waitlist
│  └─ db/                # the shared Mongo client, collections, indexes
└─ lib/                  # app-layer helpers. May use next/* (e.g. session
                        # reads next/headers) — server/ may not.

The rule: app/ may import from server/, never the reverse. Nothing in server/ may import next/*. That single constraint keeps the domain logic pure, trivially testable, and extractable into a standalone service later without a rewrite.

Contributing

We would genuinely love the help — see CONTRIBUTING.md. Issues tagged good first issue are a good place to start.

By participating you agree to the Code of Conduct.

Security

Please do not open a public issue for security problems. See SECURITY.md.

Licence

AGPL-3.0.

This is deliberate. AGPL's network clause means anyone who runs a modified version as a public service must publish their changes. It keeps forks of this project open, and it makes "this will never become a paid product" a legal fact rather than a promise.

If you want to run MockClub for your own community — please do. Fork it, translate it, adapt it. That is the point.

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#interviews · #social