https://github.com/assertnotnull/remix-tiledhn
Tiled Hacker news with Remix, Zod & FxTS
https://github.com/assertnotnull/remix-tiledhn
Last synced: over 1 year ago
JSON representation
Tiled Hacker news with Remix, Zod & FxTS
- Host: GitHub
- URL: https://github.com/assertnotnull/remix-tiledhn
- Owner: assertnotnull
- Created: 2023-04-12T15:56:11.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-17T02:22:24.000Z (over 1 year ago)
- Last Synced: 2025-02-17T03:26:09.256Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://remix-tiledhn.vercel.app
- Size: 1.03 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tiled Hacker news on [Remix](https://remix.run/)
[See it running live on Vercel](https://remix-tiledhn.vercel.app/)

## 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](https://fxts.dev/) to concurrently get news details & comments.
[Zod](https://zod.dev) 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