Skip to content

CRYPTOcoderAS/Bitespeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitespeed Backend Task: Identity Reconciliation

Setup Instructions

  1. Install dependencies:
    npm install
  2. Prisma setup:
    npx prisma generate
    npx prisma migrate dev --name init
  3. Run the server:
    npm run dev

Endpoint

  • POST /identify
    • Body: { "email"?: string, "phoneNumber"?: string }
    • Returns: Consolidated contact as per the task requirements.

Notes

  • Uses SQLite for local development (see prisma/schema.prisma).
  • See /src/api/identify.ts for main logic.

Releases

No releases published

Packages

No packages published