This repository contains a minimal Next.js scaffold for a 45-minute take-home/live interview. The candidate is expected to implement APIs and a simple UI for an AI-powered ad platform based on the PRD in src/app/page.tsx.
- Install dependencies
npm install- Run the dev server
npm run devOpen http://localhost:3000 to see the instructions.
- Implement API routes:
POST /api/ads/generate,POST /api/ads/publish,GET /api/dashboard - Create your services under
src/services/*and types insrc/lib/types.ts - Build a minimal UI to call the APIs
Use the provided Logger in src/utils/logger.ts for all server-side logging.