- Install dependencies:
npm install
- Prisma setup:
npx prisma generate npx prisma migrate dev --name init
- Run the server:
npm run dev
- POST /identify
- Body:
{ "email"?: string, "phoneNumber"?: string } - Returns: Consolidated contact as per the task requirements.
- Body:
- Uses SQLite for local development (see
prisma/schema.prisma). - See
/src/api/identify.tsfor main logic.