Time Limit: 2 hours
Tools Allowed: Google, official documentation, Stack Overflow (no AI tools)
Prerequisites
- TypeScript
- Express
- Zod
- Prisma (basic models, primary keys, 1:many relationships only)
- JWT Authentication
- Bun runtime
- PostgreSQL
Project Overview
Build a RESTful API for a course selling platform where:
- Users can sign up and log in
- Instructors can create courses
- Each course can have multiple lessons
- Users can purchase courses
Only 1:many relationships are allowed