kor
kor copied to clipboard
WIP: kor backend - http server
What this PR does / why we need it?
Defines KOR HTTP server that uses the Gorilla Mux router, JWT authentication, and Swagger documentation
Functionality:
- Security: The API requires JWT tokens for most routes, with optional disabling of auth via an environment variable (NO_AUTH).
- Documentation: Swagger provides a UI for exploring and interacting with the API endpoints.
- HTTPS: The server runs with HTTPS using TLS, ensuring secure communication.
PR Checklist
- [ ] This PR adds K8s exceptions (false positives)
- [X] This PR adds new code
- [ ] This PR includes tests for new/existing code
- [ ] This PR adds docs