Backforge — Backend Interview Prep Platform (In Development)
Backend-разработчик
Developing a scalable educational platform using Go and PostgreSQL.
- Architecture: Designed and implemented a service-oriented architecture following Clean Architecture principles (domain, service, transport/http). Ensured loose coupling and independent scaling of business modules (Analytics, Auth, Progress, Questions).
- Database Patterns: Developed a custom Transaction Manager (Transactor) to handle atomic operations at the business logic layer without tight coupling to a specific database implementation. Implemented the Repository pattern using pgx/v5, optimized complex SQL queries (JOINs, data aggregation), and configured database migrations.
- Security & Auth: Designed a JWT-based authentication system with Refresh token rotation and PostgreSQL session storage. Implemented secure token storage (Memory AccessToken + HttpOnly Cookie) and custom Middleware for RBAC and Rate Limiting (Token Bucket algorithm).
- Testing & QA: Covered the system with multi-level testing: Unit tests with mock generation (Mockery) and Integration tests for repositories using actual database containers.
- Tooling: Documented the API using Swagger (OpenAPI 3.0). Integrated structured logging (Uber Zap) and configured environment-based settings (YAML/Viper).
Stack: Go, Chi, PostgreSQL (pgx), Redis, Docker, Swagger, Zap, Testify, Mockery.