9 Commits

Author SHA1 Message Date
da22c4f19a feat: implement SEO improvements, listing profiles, service images, and towns serviced 2026-03-08 15:12:53 -04:00
6c95a7d201 feat: add admin panel, stats endpoint, and url field to listings
- Add full admin CRUD routes for users, companies, listings, oil-prices
  protected behind auth middleware (/admin/*)
- Add public /stats endpoint returning latest market price aggregates
- Add /health and / health check endpoints
- Add `url` field to listings (struct, all SQL queries, create/update)
- Add `phone` and `url` fields to OilPrice struct
- Remove deprecated company CRUD handlers (get_company, create_company)
- Update schema.sql; remove one-off alter/drop migration scripts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 11:34:03 -05:00
85bbe43192 feat(CRIT-010): add oil_prices API endpoint with zone-to-county mapping
Add GET /oil-prices/county/:county_id public endpoint to serve scraped
oil price data by county. Includes oil_prices table definition in schema
and a backfill script to populate county_id on existing records.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 18:31:38 -05:00
caa318508b refactor(auth): migrate to httpOnly cookies and update vendor listings
Migrated JWT authentication from localStorage to httpOnly cookies using axum-extra. Refactored vendor listing and edit pages to use the centralized API client. Updated schema and data models to support these changes.
2026-02-09 16:25:38 -05:00
feb1a173ec added dockerignore 2026-02-09 09:28:45 -05:00
57b48890ff working pages 2025-12-29 21:38:19 -05:00
56ebb8eba2 added listings 2025-12-26 20:01:08 -05:00
5d0a9bb255 Issues vscode rreading errors 2025-06-10 16:54:56 -04:00
41c4eca4f5 first 2025-06-08 13:27:50 -04:00