Saltar al contenido
← volver

Building a Choose-Your-Own-Adventure API with NestJS — Part 2: Persistence

DEV · dev.to · publicado 15/9/2026, 16:05:45

Part 2 of a series building "Grimoire API" — a choose-your-own-adventure backend in NestJS, learned one milestone at a time. Part 1 covered controllers, providers, DI and validation with a single read-only endpoint. This time: making a player's progress survive a server restart. By the end of Part 1, GET /pages/:id worked — but every request started from scratch. There was no concept of "a player," let alone where they currently were in the story. To move a player from one page to the next, som…

Leer original →