Skip to content

assertnotnull/remix-tiledhn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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