Skip to content
/ wif Public

WIF - Was it fixed (yet)?

Notifications You must be signed in to change notification settings

getsentry/wif

Repository files navigation

WIF - Express 5 Application

Express 5 application with Slack webhook endpoint built with TypeScript.

Setup

Install dependencies:

pnpm install

Copy the environment variables template:

cp .env.example .env

Edit .env and add your Sentry DSN (get it from https://sentry.io)

Running the Application

Development mode (with auto-restart)

pnpm dev

Build for production

pnpm build

Production mode

pnpm start

The server will start on http://localhost:3000 by default.

Docker

Build Docker image

docker build -t wif-app .

Run Docker container

docker run -p 3000:3000 wif-app

Run with custom port

docker run -p 8080:8080 -e PORT=8080 wif-app

Endpoints

  • POST /api/webhooks/slack - Slack webhook endpoint (returns 200 OK)
  • GET /health - Health check endpoint

Environment Variables

  • PORT - Server port (default: 3000)
  • NODE_ENV - Environment name (default: development)
  • SENTRY_DSN - Sentry Data Source Name for error tracking (optional)

Features

  • 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

Project Structure

.
├── src/
│   └── index.ts       # Main application file
├── dist/              # Compiled JavaScript (generated)
├── package.json
├── tsconfig.json
└── README.md

About

WIF - Was it fixed (yet)?

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •