(01) / Complete / 2026

Article Service

A production-minded Article Service built with Go, PostgreSQL, Docker, full-text search, and cursor-based pagination.

Focus

Search and pagination

Shape

REST API

Delivery

Docker Compose

Repository

github.com/SeladaKeju/article-service

Open on GitHub

Overview

A Go API for creating, searching, filtering, and cursor-paginating articles.

GoPostgreSQLDocker
Backend API engineeringComplete
Go
PostgreSQL
Docker

Focus

Search and pagination

Shape

REST API

Delivery

Docker Compose

Build Notes

Problem

Article listing needs to stay predictable as data grows, while search and author filtering must remain simple for API consumers.

Approach

The service separates controller, use-case, and repository concerns. PostgreSQL handles full-text search and keyset pagination, while Docker Compose keeps the application and database setup reproducible.

Result

The result is a documented API with article creation, search, filtering, stable pagination, automated tests, and a repeatable local environment.

Highlights

  • 01Implemented PostgreSQL full-text search and case-insensitive author filtering.
  • 02Used a created_at and id cursor to avoid slow deep-offset pagination.
  • 03Included Swagger documentation, automated tests, and Docker Compose setup.