NOW · Solo · Production
COD:DMZ
A fan-made field map for Call of Duty DMZ on Hajin: loot spots, key rooms, routes, items, crafting and mission drops on an interactive map, playthroughs from creators’ videos with each step pinned to it, and a traits planner. Not affiliated with Activision.

Mission
A fan-made field map for Call of Duty DMZ on the Hajin map. Players look up loot spots, key rooms, routes, items, crafting recipes and mission drops on an interactive map with floors, follow step-by-step playthroughs taken from YouTube and TikTok guides with each step pinned to the map, and plan operators and trait builds for different play styles.
For whom: DMZ players, on a phone or a laptop; the phone app carries a full offline copy of the data. Constraints: it is a fan project, not affiliated with or endorsed by Activision. “Call of Duty” and “DMZ” are Activision trademarks, and the game’s map art and icons are Activision’s, so the repository is private and this page shows none of that art. Anything that comes from a guide says so, and says whose guide it is.
Manifest
| Layer | Choice | Version | Why |
|---|---|---|---|
| app | Next.js 16 + Tailwind 4 | — | The public map and the admin dashboard, with TanStack Query holding the one payload; the site’s phone layout matches the Expo app. |
| app | Expo + React Native | SDK 58 | The phone app, an Android internal build so far. It opens on a bundled copy of the data and revalidates against the API, so the map works with no signal. |
| services | NestJS | 11 | The API: one cached payload for the public apps, audited admin writes and image uploads. |
| services | better-auth | — | Staff sign-in with email and password, sign-up off, editor and admin roles. Only one host answers sign-in, so there is one place to log in and one rate limit. |
| data | PostgreSQL + Kysely | 16 | Prisma 7 for migrations and generated types only; every query goes through Kysely. |
| data | Zod schemas in a shared library | 4 | The API contract, the write schemas, the map coordinate maths and search live in one library that every app imports. |
| infra | Nx + pnpm | Nx 22 | Four apps and two libraries in one workspace. |
| infra | Docker Swarm + nginx | — | One Dockerfile builds four images; a Swarm stack runs them behind the box’s shared nginx on three hosts: the site, the API and the admin. |
| infra | GitHub Actions | — | Builds the images and deploys the stack on every merge to main; make ship does the same from the box for a branch that is not merged yet. |
Decisions
One payload feeds every public app. The API builds the whole public dataset as a single cached payload with a version hash. The site and the phone app search it and draw the map from it on the device. The live payload is about 680 KB.
The phone app works with no signal. The Expo app opens on a snapshot of the data and its images bundled into the build, taken from production. It then checks the API with the payload’s version, keeps what it fetched on the device, and stays on what it has when the network is not there.
How sure the data is, is part of the data. Every spot, route and playthrough is either checked in game (a solid pin) or from guides, not checked yet (a dashed one), and a trait build is either from a guide or our own suggestion. Today the map has 150 checked spots and 122 from guides.
Creators are credited, and their videos stay theirs. A playthrough is one creator’s video plus our own notes: what to bring, the steps with their times and places on the map, what the run gives and a caveat. The video plays only in its platform’s own player and links back to the post. Every stop is checked against the HUD’s area name, the player marker and the zoomed map frames before it is placed.
Places are named by grid square, not by pixel. A spot says it sits on E5 and F5, and the importer works out where that is on the map’s own grid, floors included. Every imported row carries a source id that is the same in every database, so a re-import finds it again and never removes anything.
Four apps, one contract. The API, the public site, the admin dashboard and the phone app live in one Nx workspace and share one set of zod schemas, types, map maths and search.
Staff edit, nobody else signs up. Editors place spots and edit routes, traits and playthroughs in the admin dashboard, every write goes to an audit log, and sign-up is off.
Editions keep old and new content apart. Maps, items, recipes and upgrades belong to a DMZ edition, exactly one edition is live, and the API refuses a link that crosses editions, so a new release can be added without touching what players see.
The cut-over was scripted and reversible. The rebuild replaced a single-server app on the same box, behind the same domain, certificate and nginx include, by swapping one file. The old app stayed available to roll back to.
A deploy is a merge. One Dockerfile builds four images, and a Swarm stack runs them behind the box’s shared nginx on three hosts: the site, the API and the admin. A merge to main builds and deploys; for a branch that is not merged yet, make ship builds the images on the box instead.
Impact
- Spots on the map
- 272
- Checked in game
- 150
- Routes
- 76
- Apps in one repo
- 4
Live since 6 November 2026 at dmz.ndelucien.com, free and public. The phone app is an Android internal build so far, and there is no iOS build yet. A store listing will need a different name, because “COD” and “DMZ” belong to Activision.
On the live map: 272 spots, 150 checked in game and 122 from guides; 76 routes, made of 4 full runs, 25 for FOB upgrades and 47 for 3D Printer ingredients; 103 items, 60 of them keys; 52 recipes and 25 FOB upgrades; 6 story missions with their drop points; 10 playthroughs with 109 steps; and 78 traits in three trees, 10 builds and 34 operators. All of it came out of the first four days.
What broke
Search found nothing for “gun store”. It matched the whole phrase as one string, and nothing on the map is called that. Each word of a query now has to start a word of a spot’s title, description or category, common player words map to categories, and “gun” no longer finds Cheongun. When a searched category has nothing pinned yet, the results say so instead of missing silently.
A video still put a bank in the wrong place. One creator’s first bank was placed from a frame that caught his cursor halfway along the path he was tracing, and five other estimated pins sat 60 to 140 metres from where a route site put them. Every stop is now checked against the HUD’s area name, the player marker and the zoomed map frames, and the pins that were off were moved.
A drag opened a pin. Phones and tablets send the click that ends a drag after the pointer is released, after the timer that guarded pins had already expired, so a drag that started on a pin opened it. In the app the tap gesture ran alongside the pan with no movement limit. The map now drops that click until the next press, and a finger that moves about 10 pixels has dragged, not tapped.
The same spot had different ids on two machines. The box’s copy of the legacy data gave about 110 spots other random ids than the development database, so importing the playthroughs there could not find five of them. Spots are now named by a source id that is the same everywhere.
On a tablet the map was a 300-pixel strip. At 768 pixels the side-panel layout left the map a strip, and an open spot card cut it to about 100 pixels, so portrait tablets now get the phone layout, with the card docked to one side.
Ship log
- First commit: the Hajin map with an edit mode, loot, FOB and crafting routes, an item finder and mission drops, as one service on the VPS
- Rebuilt as four apps over Postgres: a NestJS API, the public site and an admin dashboard in Next.js, and an Expo app with an offline copy of the data
- New stack live behind the same domain: the cut-over swapped one nginx include, with the API on its own host and the admin on another
- Editions, keys with their doors, and playthroughs: creators’ videos with timed steps pinned to the map, played in their own platforms’ players
- Maps with floors and a grid that can start at row 0, a tablet layout, and operators and traits with the three trees and builds
- The app’s offline copy retaken from production, with floors, traits and three new playthroughs
- Now: 272 spots, 76 routes, 10 playthroughs and 78 traits; an Android internal build, no iOS build yet