A tool to inspect incoming HTTP requests, like webhooks, quickly and easily.
- Responsive web interface
- Create a new HTTP watcher and a link would be generated
- Inspect incoming requests
- SPA like beheviour
- Go
- Chi
- Templ Components
- PostgreSQL
- SQLC
- HTMX
- Server-Sent Events
- Install tailwind instead of CDN use
- Fix table overflow for smaller screens
- Make tests
- Use testcontainers for DB tests
- Read up on how to test channels for Manager package
- Move packages to internal/ directory
- Consider changing to NoSQL solution for storage
- We don't have many tables
- the Headers type is a map[string][]string
- We only query all requests from one ID and add a request to one ID
- Filestorage could be cool. Could then be shipped as a standalone Go binary
- Make body formatting pretty
- Develop a CLI using Cobra and Charm
- Go
- Docker
- Docker Compose
- air (for hot reload)
- sqlc
Copy .env.example file (modify to your own liking)
$ cp .env.example .env
Hot reloads Go and Templ files using air
$ make dev
Build Go application
$ make build
Start PostgreSQL database
$ make db/up
Migrate SQL schemas
$ make db/migrate
Run
$ make run