- GET / - Ping to test service health
- GET /leads - Dump of all Leads
- GET /leads/search - Query for matching Leads
- POST /leads - Insert an array of Leads
Setup:
- Pull repo
- Install dependencies with
npm i
- Build and start the service with
npm run build
andnpm run dev
- Ping to ensure that it's up by hitting
localhost:3004/