No description
- TypeScript 82.8%
- HTML 9.3%
- Python 3.3%
- Just 2.2%
- Dockerfile 1.6%
- Other 0.8%
| .forgejo/workflows | ||
| docs | ||
| services | ||
| .env.example | ||
| .gitignore | ||
| .node-version | ||
| compose.yaml | ||
| Justfile | ||
| LAWNET_API_REFERENCE.md | ||
| README.md | ||
LawNet Scraper
Searchable catalog and ingestion pipeline for Singapore judgments published by LawNet OpenLaw and eLitigation.
Prerequisites
- Docker with Compose v2
justuvfnm- pnpm 10
The web package is pinned to Node.js 22 through .node-version:
fnm use --install-if-missing
corepack enable
Local Setup
cp .env.example .env
just up
The public web service is available only at
http://127.0.0.1:3406. PostgreSQL, Flyway, the scheduler, and the worker do
not publish host ports.
just down stops the stack without deleting the named PostgreSQL volume.
Verification
just check-compose
just lint
just typecheck
just test
The data-ingest application is intentionally limited to printing
Hello world in Phase 1. Compose keeps the scheduler and worker placeholders
alive and probes their PostgreSQL and network access; queue and scheduling
behavior arrives in Phase 3.
Common Commands
just logs
just logs web
just migrate
just build
just down
The values in .env.example are development-only. When changing PostgreSQL
credentials, update DATABASE_URL to match.