- Start the test express applicaiton
cd test
node index.ts
- User the curl command to call the api hosted on port 3005
curl -X POST http://localhost:3005/test-alert \
-H 'Content-Type: application/json' \
-d '{"alertData": {"message": "Test alert"}}'
npm run build
npm login
npm pack && npm publish