A simple project to practice refactoring Go code. The goal is just to clean up an existing RESTful API that connects to PostgreSQL.
Credit & Acknowledgement: This project is inspired by and follows the tutorial from AnuchitO.
- Language: Go (Golang)
- Web Framework: Gin
- Database: PostgreSQL
- Infrastructure: Docker & Docker Compose
- Testing:
net/http/httptestand in-memory database (SQLite)