JustCar: Smart Car Comparison Platform
1 Software engineer, Singapore; cyrus@pastelero.ph
Abstract
Solving the frustration of comparing cars across fragmented sources. What aggregating 49,000+ vehicles taught me about data quality, scraper maintenance, and why boring technology choices are often the right ones.
Keywords: Next.js; TypeScript; Supabase

The problem
Buying a car means visiting dozens of websites. Manufacturer sites show specs differently. Regional pricing varies wildly. Comparing a Toyota to a Honda means opening multiple tabs and manually cross-referencing data that doesn't quite match up.
I wanted to compare cars the same way I'd compare laptops on a spec comparison site. Side by side, with consistent data points, across different markets. That platform didn't exist.
What I built
JustCar aggregated data from 49,000+ vehicles across 219 brands. Users could compare up to 4 cars side by side with 50+ specifications, filter by body type, and see pricing across multiple markets including Vietnam, Philippines, Japan, UK, India, Australia, Singapore, EU, and Canada.
The journey
I thought the hard part would be building scrapers. I was wrong. Scraping was straightforward. The real challenge was making sense of data that was never meant to be compared.
Tech stack
| Layer | Technology | Why |
|---|---|---|
| Frontend | Next.js 16[1] | App Router, ISR for SEO |
| Language | TypeScript[2] | Type safety for complex data |
| Database | Supabase[3] | PostgreSQL with plain ilike search |
| Validation | Zod[4] | Runtime schema validation |
| Styling | Tailwind CSS 4[5] | Utility first, fast iteration |
| Hosting | Vercel[6] | Edge caching, easy deploys |
What building this taught me
1. Data quality is the product
I spent 70% of my time on data cleaning and normalization, 30% on the UI. Users don't care about your beautiful interface if the specs are wrong.
One site lists horsepower as "300 hp," another as "300HP," another as "224 kW." Engine displacement might be "2.0L" or "1998cc" or "2000 cm³." Making these comparable required building a normalization pipeline more complex than the UI itself.
// Real example of variations I had to handle
const horsepowerVariations = [
'300 hp',
'300HP',
'300 bhp',
'224 kW',
'223.71kW',
'224kw',
]
// Normalized to:
interface NormalizedPower {
value: number // 300
unit: 'hp' // standardized
kw: number // 224 (always include kW conversion)
}Resources that helped:
- Zod Documentation[4] for schema validation
- PostgreSQL Data Types[7] for storage decisions
2. Scrapers are never done
I thought: build scraper, run scraper, done. Reality: websites change constantly.
A site redesigns, your scraper breaks. A site adds anti-bot measures, your scraper breaks. A site changes their data format, your scraper breaks.
I learned to treat scraper maintenance as ongoing work, not a one-time setup. I never built real monitoring. Sentry stayed on the to-do list, and the only automated check was a daily health ping to the database. This is the view I wanted:
Scraper health (illustrative):
┌────────────────┬────────┬──────────┐
│ Source │ Status │ Last Run │
├────────────────┼────────┼──────────┤
│ Carmudi PH │ ✓ │ 2h ago │
│ Bonbanh VN │ ✓ │ 3h ago │
│ UK Motors │ ⚠ │ 1d ago │ ← needs attention
│ CarQuery API │ ✓ │ 6h ago │
└────────────────┴────────┴──────────┘3. Plain PostgreSQL was enough for search
I almost added Elasticsearch[8] because that's what "real" search uses. Then I tried plain Postgres ilike[9] pattern matching on make, model and variant.
Over 49,000+ rows it was fast enough, and I never needed Elasticsearch. The realization: sometimes the boring choice is the right choice.
-- Plain pattern matching, no trigram or full-text index
SELECT * FROM car_details
WHERE make_name ILIKE '%bmw%'
OR model_name ILIKE '%bmw%'
OR variant ILIKE '%bmw%';
-- Typos like 'bwm' were handled in code by also trying swapped lettersResources:
4. Multi-market complexity compounds
A "base model" in one market might have features that are "premium" elsewhere. The same car might have different names in different regions. Prices in different currencies need conversion but also contextual understanding.
Is $30,000 expensive for this car? Depends on the market. This complexity kept revealing itself in layers.
The bigger realization
Building JustCar taught me that aggregation products live and die by data quality. I could have built the world's best UI, but if users find one wrong spec, they lose trust in everything.
The unsexy work of validation, cleaning, and monitoring is what makes the product valuable. Features are easy. Trustworthy data is hard.
What I would do differently
Build an admin dashboard from day one. I managed data through scripts and direct database queries for months. A proper admin interface for reviewing flagged data, fixing issues, and monitoring scraper health would have saved hours of terminal work every week.
What happened after
I retired JustCar in November 2026. Keeping 49,000 vehicles and 123,000 images fresh meant paying for storage and scraper upkeep on a product I was no longer working on, so I backed up the database and images and turned it off. The lessons above are the part worth keeping.
Links
- Status: retired November 2026
References
- Next.js 16. nextjs.org. https://nextjs.org/ ↑
- TypeScript. typescriptlang.org. https://www.typescriptlang.org/ ↑
- Supabase. supabase.com. https://supabase.com/ ↑
- Zod. zod.dev. https://zod.dev/ ↑
- Tailwind CSS 4. tailwindcss.com. https://tailwindcss.com/ ↑
- Vercel. vercel.com. https://vercel.com/ ↑
- PostgreSQL Data Types. postgresql.org. https://www.postgresql.org/docs/current/datatype.html ↑
- Elasticsearch. elastic.co. https://www.elastic.co/ ↑
- ilike. postgresql.org. https://www.postgresql.org/docs/current/functions-matching.html ↑
- Next.js ISR Documentation. nextjs.org. https://nextjs.org/docs/app/guides/incremental-static-regeneration
- Supabase Documentation. supabase.com. https://supabase.com/docs