A web application for inspecting and managing webhooks with a modern tech stack.
- Node.js
- Fastify
- PostgreSQL
- Drizzle ORM
- TypeScript
- Zod for validation
- React
- TypeScript
- Vite
- CSS Modules
- Clone the repository:
git clone https://github.com/your-username/webhook-inspector.git
cd webhook-inspector- Install dependencies:
pnpm install- Configure environment variables:
# api/.env
DATABASE_URL="postgresql://user:password@localhost:5432/database"
PORT=3333- Run database migrations:
cd api
pnpm db:migrate- Start the API server:
cd api
pnpm dev- Start the web application:
cd web
pnpm devThe web app will be available at http://localhost:5173 and the API at http://localhost:3333.
- Build the projects:
# Build API
cd api
pnpm build
# Build web app
cd web
pnpm build- Start the production servers:
# Start API
cd api
pnpm start
# Serve web build using your preferred static file server- Generate migrations:
pnpm db:generate - Apply migrations:
pnpm db:migrate - Open database GUI:
pnpm db:studio
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
ISC