Live Website: https://www.skill-dojo.com
A full-stack skill-tracking application built with React, Express, and MongoDB.
- Node.js v22+
- pnpm v10+
- MongoDB (local instance or MongoDB Atlas)
- Anthropic API key (for AI features)
pnpm installCopy the example env file and fill in your values:
cp .env.example .env| Variable | Description |
|---|---|
MONGODB_URI |
MongoDB connection string (default: mongodb://localhost:27017/code-dojo) |
JWT_SECRET |
Secret key for JWT authentication |
ANTHROPIC_API_KEY |
API key from Anthropic Console |
PORT |
Server port (default: 3001) |
NODE_ENV |
development or production |
pnpm devThis starts both the client and server concurrently:
- Client — http://localhost:5173 (Vite dev server, proxies API requests to the server)
- Server — http://localhost:3001
You can also run them individually:
pnpm dev:client # Vite dev server only
pnpm dev:server # Express server only (with --watch)| Command | Description |
|---|---|
pnpm dev |
Start client + server in parallel |
pnpm build |
Build the client for production |
pnpm start |
Start the production server |
pnpm test |
Run server tests (Vitest) |
pnpm test:watch |
Run server tests in watch mode |
code-dojo-app/
client/ React + Vite + TypeScript frontend
server/ Express.js API server
shared/ Shared constants
Client: React 19, Vite, TypeScript, Zustand, React Router, CodeMirror 6, SCSS
Server: Express, Mongoose, JWT, Anthropic AI SDK, Zod