Tiled Hacker news on Remix
Docker, Podman or Redis installed locally.
If you have Podman or Docker just bring up the docker-compose.yml
pnpm i
pnpm dev
It uses FxTS to concurrently get news details & comments.
Zod is used to validate the structure of the data returned by the API. It also recursively parse comments.
News/stories/comments are cached in Redis.
- app/models/api.server.ts
- app/models/apitype.server.ts
- app/models/cached-api.server.ts
- app/routes/index.tsx