You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
REST API for StridePilot, an AI-powered running training application. Built with Express 5, Prisma ORM, and PostgreSQL. Integrates with Anthropic Claude API for AI program generation and Cloudinary for file uploads.
Tech Stack
Category
Technology
Runtime
Node.js (ESM)
Framework
Express 5
Language
TypeScript
ORM
Prisma 7
Database
PostgreSQL (Neon serverless)
Authentication
JWT (httpOnly cookie)
Password Hashing
bcrypt
File Upload
multer (memoryStorage) + Cloudinary
AI
Anthropic Claude API
Validation
Zod
Logging
morgan
Package Manager
pnpm
Features
Authentication — Register, Login, Logout with JWT stored in httpOnly cookie
Role-based Authorization — user / admin roles, free / pro tiers via middleware guards
AI Program Generation — Generate 4-week training programs via Claude API based on goal, level, days/week, and personal best data
Session Logging — Log actual pace + HR per km, auto-calculate score /10
Profile Management — Update profile info and upload avatar to Cloudinary
REST API for StridePilot — handles authentication, training program generation via Claude API, and performance analytics. Built with Node.js, Express, Prisma, and PostgreSQL.