• Projects
  • Contact

Calculator API

A Go backend calculator API with JWT auth, role-based access control, and Docker-orchestrated Postgres + Redis.

GitHub
goechopostgresqlredisdocker

A backend calculator API built in Go with Echo, secured with full JWT authentication and role-based access control.

Highlights

  • Typed request validation via struct tags to ensure data integrity and reject malformed input.
  • Database migrations with Goose for consistent schema versioning across deployments.
  • Postgres + Redis orchestrated with Docker Compose, with Redis caching cutting response times by roughly 200%.
  • Interactive API docs generated with Swaggo, following the OpenAPI specification.
  • Integration tests covering the core endpoints, built around a clean architecture layout for maintainability.