Commit Graph

6 Commits

Author SHA1 Message Date
Michaël
48965a6f18 Fix reviews and trust score calculation, improve metadata API docs
- Fix reviews/recent and getRecentReviews to return all reviews (not just those with parsed ratings)
- Fix trust score calculation to parse ratings from content text (e.g., [5/5])
- Fix getReviewSummary and getReviewStats to parse ratings from content
- Fix OpenAPI schema for contact field (should be array, not object)
- Fix popular/trending mints endpoints to show results even without pageviews
2025-12-21 19:31:58 -03:00
Michaël
c2a7267459 Standardize all timestamps to UTC ISO-8601 format
- Update schema.sql defaults from datetime('now') to strftime('%Y-%m-%dT%H:%M:%fZ', 'now')
- Update schema-admin.sql with same UTC format
- Update AdminService.js inline table creation and query comparisons
- Update system.js time-based query comparisons
- Add documentation to time.js explaining UTC format convention
2025-12-21 19:10:07 -03:00
Michilis
0db5dec5ec Fix /stats route: make async and correct trending mints response
- Make /stats route handler async
- Await getTrendingMints call
- Fix trending mints response to use view_count instead of views_7d
2025-12-21 01:49:05 -03:00
Michilis
62c9651a5e Update documentation and routes to remove /v1 prefix
- Update all route documentation comments
- Update README, env.example, and starter-docs
- Update install.sh
2025-12-21 01:46:14 -03:00
Michilis
46ad6d74a3 Remove /v1 API version prefix from all routes
- Update routes to serve at root level instead of /v1/*
- Simplify nginx configuration and use certbot SSL defaults
- Update OpenAPI spec server URLs
- Change nginx upstream port from 3000 to 3012
2025-12-21 01:27:16 -03:00
Michilis
23f716255e Initial commit 2025-12-19 23:56:07 -03:00