Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 744 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 744 Bytes

Tiled Hacker news on Remix

See it running live on Vercel

Screenshot of the UI

Requirements

Docker, Podman or Redis installed locally.

If you have Podman or Docker just bring up the docker-compose.yml

Install intructions

pnpm i
pnpm dev

Description

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.

Files of interest

  • app/models/api.server.ts
  • app/models/apitype.server.ts
  • app/models/cached-api.server.ts
  • app/routes/index.tsx