Commit Graph
30 Commits
Author SHA1 Message Date
Evandro Fonseca Junior bfb58ef16e feat(search): implement paginated API fetching for large page sizes
- Removed upper limit on page_size validation to support requests >100
- Added automatic pagination logic to fetch from Open Food Facts API in chunks of 1000
- Accumulates products across multiple API pages until desired count is reached
- Updated error messages and product data fields for consistency
2025-10-09 07:16:26 -03:00
Evandro Fonseca Junior c173fec668 feat(api): implement product caching mechanism
- Add NODE_ENV=production to .env for environment configuration
- Enhance product API route with JSON cache manager for local storage and retrieval
- Introduce cache-only mode and detailed logging for better performance and offline support
- Update UI to display cache status and storage statistics
2025-10-09 04:30:46 -03:00
Evandro Fonseca Junior bddf19e5c8 feat(layout): Add floating donate button to root layout for easy user donations 2025-10-09 02:26:18 -03:00
Evandro Fonseca Junior a80da6e12d refactor: rebrand project to NutriScan with personal use license
Updated LICENSE from MIT to a restrictive personal use license, limiting usage to local, non-commercial purposes only. Revamped README.md to reflect the new project name "NutriScan", integrated Open Food Facts API badge, and shifted focus from shopping list management to a nutrition scanning application, enhancing project identity and compliance.
2025-10-09 02:09:54 -03:00
Evandro Fonseca Junior e4ed666074 feat(results-page): enhance search with caching, pagination, and UI tweaks
- Add dynamic rendering and Node.js runtime config to location API for better performance
- Improve ProductCardSkeleton with dark mode styling for consistent theming
- Simplify Hero search placeholder to focus on product name input
- Integrate caching, pagination, and cache clearing in results page for optimized search experience and user control
2025-10-09 01:53:42 -03:00
Evandro Fonseca Junior 166abeb64e refactor(CardList): replace ProductCard with ListaProductCard
Updated CardList component to use ListaProductCard instead of ProductCard for rendering products, improving component specificity for list views. Also adjusted indentation for consistency.
2025-10-09 01:28:33 -03:00
Evandro Fonseca Junior 9a4e4c762e feat(ui): enhance footer with NutriScan branding and fix database path
- Redesigned Footer.tsx with comprehensive layout including brand section, navigation links, social media icons, and contact info to improve user engagement and brand visibility
- Updated DATABASE_URL in .env to correct Prisma database path for proper configuration and connectivity
- Updated dependencies to support new UI components and ensure compatibility with enhanced features
2025-10-09 00:14:30 -03:00
Evandro Fonseca Junior 8d6cbeb0bb Update package.json 2024-12-09 13:26:41 -03:00
Evandro dc08bd180c fix: 2024-11-28 13:30:34 -03:00
Evandro 7cff099ba3 fix: 2024-11-28 13:23:01 -03:00
Evandro 7bd2517506 fix: 2024-11-28 13:21:55 -03:00
Evandro 1313c7450e fix: 2024-11-28 13:20:52 -03:00
Evandro 0045f376ed fix: 2024-11-28 13:20:07 -03:00
Evandro 9dc3de8b2f fix: 2024-11-28 13:19:22 -03:00
Evandro 34d1a0a25a fix: 2024-11-28 13:18:38 -03:00
Evandro 3288ae37df fix: 2024-11-28 13:18:02 -03:00
Evandro 6c65d7f044 feat: 2024-11-28 13:17:14 -03:00
Evandro 3341f538ac fix: 2024-11-28 13:15:49 -03:00
Evandro 44efca1c10 fix: 2024-11-28 13:11:28 -03:00
Evandro f25017a4da fix 2024-11-28 13:09:02 -03:00
Evandro 14762fa43c Merge branch 'main' of https://github.com/evandrodevbr/lista-compras 2024-11-28 13:06:55 -03:00
Evandro 6a68b533b0 fix: 2024-11-28 13:06:51 -03:00
Evandro Fonseca Junior 310f5a4af1 Update README.md 2024-11-28 13:01:17 -03:00
Evandro 14d1e6e810 Merge branch 'main' of https://github.com/evandrodevbr/lista-compras 2024-11-28 13:00:41 -03:00
Evandro b3eceeb78d feat: 🐛 2024-11-28 13:00:26 -03:00
Evandro Fonseca Junior 71faf52f92 Update README.md 2024-11-28 12:44:27 -03:00
Evandro Fonseca Junior 259cedbe39 Update README.md 2024-11-28 12:40:53 -03:00
Evandro 1dd2dffed8 feat: merge initial project structure 2024-11-28 12:40:04 -03:00
Evandro e775435c9f feat: 🚀 2024-11-28 12:37:47 -03:00
Evandro Fonseca Junior b8f4eefdef Initial commit 2024-11-28 12:07:35 -03:00