惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Recent Announcements
Recent Announcements
爱范儿
爱范儿
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog
博客园_首页
IT之家
IT之家
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
大猫的无限游戏
大猫的无限游戏
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 司徒正美
WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
Jina AI
Jina AI
月光博客
月光博客
小众软件
小众软件
S
SegmentFault 最新的问题
量子位
阮一峰的网络日志
阮一峰的网络日志
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
How I Built a Job Tracker Backend with a Concurrent Job Q...
Ahmad Fauzan · 2026-05-18 · via DEV Community

Building a Job Application Tracker with AI-Powered Resume Analysis

Author: Ahmad Fauzan Alghifari
Source Code: GitHub Repository


Job hunting is exhausting. Keeping track of where you applied, what stage each application is at, and whether your resume is even a good fit for a role — it's a lot to manage manually.

So I built a tool for it.

Jatify is a job application tracker with a backend built in Go, backed by PostgreSQL, and powered by AI resume analysis through OpenRouter. The idea is simple: you upload your resume, add job listings you're targeting, and the system analyzes how well your resume matches each role — all asynchronously, so you're never waiting around for a response.

This post covers the backend architecture: how the layers are structured, how the job queue works, and a full breakdown of every available API endpoint. The whole thing is deployed on a Linux VPS, containerized with Docker, and ships automatically via GitHub Actions CI/CD — so every push to main goes straight to production.

1. Project Overview

  • Project Title: Job Application Tracker
  • Objective: Implement a system to track job applications, with AI-powered resume analysis as the primary additional feature.
  • System Summary: Users interact directly with a frontend application that builds and sends requests to a REST-based backend.

2. System Architecture

Service Decomposition

The backend is structured into distinct layers, each with a clear responsibility:

Layer Responsibility
Handler Layer Processes incoming HTTP requests from the frontend
Service Layer Contains the core business logic for each feature
Repository Layer Interacts with data entities such as the database
Entity Defines the data entities used in the database
Job Queue / Processing* Facilitates the job queue system and concurrent processing

Technology Stack

  • Language / Framework: Go (Gin)
  • Database: PostgreSQL
  • In-Memory / Queue: PostgreSQL
  • Deployment: Linux VPS, Docker
  • CI/CD: GitHub Actions

Database Design (Job Tracker Features)

Database Design

Database Design (Job Queue Feature)

Job Queue DB Design


3. Job Queue Workflows

The Job Queue is used here because the AI resume analysis feature is implemented via an external endpoint (OpenRouter). Since the response from OpenRouter cannot be predicted by the system, the analysis process may have variable response times, experience failures, or time out.

Data within the job queue system is stored across two entities.

3.1 Concurrency

Queue processing is handled by N concurrent workers (goroutines). Each worker waits to be "woken up". When woken, a worker searches for jobs with a pending status to process.

Workers are woken up under two conditions:

  1. A new job is added to the queue
  2. After a set timeout period

Each time a worker is woken, it picks the first available pending job — ensuring no job is skipped or given priority over another.

3.2 Enqueue

The following is a high-level visualization of the process for adding jobs to the queue.

Enqueue Flow

3.3 Requeue

The following is a high-level visualization of the process for re-adding failed jobs back into the queue.

Requeue Flow


4. Available API Endpoints

Authentication

Method Endpoint Description
POST /api/auth/register Register a new user account
POST /api/auth/login Log in and receive a JWT token
POST /api/auth/logout Log out of the active session

User

Method Endpoint Description
GET /api/user/profile Retrieve the profile data of the currently logged-in user

Application Statuses

Method Endpoint Description
GET /api/statuses Retrieve a list of all available application statuses

Job Applications

Method Endpoint Description
POST /api/applications Create a new job application
GET /api/applications Retrieve all applications belonging to the current user
GET /api/applications/:id Retrieve the details of a single application by ID
PUT /api/applications/:id Update application data (including status changes)
DELETE /api/applications/:id Delete an application (soft delete)

Job Listings

Method Endpoint Description
POST /api/jobs Create a new job listing entry
GET /api/jobs Retrieve all job listings belonging to the current user
GET /api/jobs/:id Retrieve the details of a single job listing by ID
PUT /api/jobs/:id Update job listing data
DELETE /api/jobs/:id Delete a job listing

Resumes

Method Endpoint Description
POST /api/resumes Upload a new resume
GET /api/resumes Retrieve all resumes belonging to the current user
GET /api/resumes/:id Retrieve the details of a single resume by ID
PUT /api/resumes/:id Update resume data
DELETE /api/resumes/:id Delete a resume

Resume Analysis

Method Endpoint Description
POST /api/resumes/:id/analyze Initiate an AI analysis of a resume against a specific job listing (queued)
GET /api/resumes/:id/analysis/:jobid Retrieve the analysis result for a specific resume and job listing
GET /api/resumes/:id/analyses Retrieve all analysis results for a single resume

Job Queue System — Dead Letter Queue (DLQ)

Method Endpoint Description
GET /api/dlq Retrieve a list of all jobs that failed processing in the Dead Letter Queue
POST /api/dlq/requeue Re-queue multiple failed jobs at once
POST /api/dlq/:uuid/requeue Re-queue a single failed job by UUID
DELETE /api/dlq/:uuid Permanently delete a single job from the Dead Letter Queue