Express 5 application with Slack webhook endpoint built with TypeScript.
Install dependencies:
pnpm installCopy the environment variables template:
cp .env.example .envEdit .env and add your Sentry DSN (get it from https://sentry.io)
pnpm devpnpm buildpnpm startThe server will start on http://localhost:3000 by default.
docker build -t wif-app .docker run -p 3000:3000 wif-appdocker run -p 8080:8080 -e PORT=8080 wif-appPOST /api/webhooks/slack- Slack webhook endpoint (returns 200 OK)GET /health- Health check endpoint
PORT- Server port (default: 3000)NODE_ENV- Environment name (default: development)SENTRY_DSN- Sentry Data Source Name for error tracking (optional)
- Express 5 - Latest version of Express framework
- TypeScript - Full type safety
- Sentry - Error tracking and performance monitoring
- Docker - Containerized deployment
- pnpm - Fast, efficient package management
.
├── src/
│ └── index.ts # Main application file
├── dist/ # Compiled JavaScript (generated)
├── package.json
├── tsconfig.json
└── README.md