Randall Stillwell
e046515a38
Add real Lorcana import using Lorcast API
...
- Replaced mock Lorcana import with real API integration
- Uses Lorcast API (https://api.lorcast.com/v0/cards/search ) for comprehensive card data
- Added proper set code mapping (tfc->1, rotf->2, ink->3)
- Includes card images, prices, stats, and detailed metadata
- Created dedicated Lorcana import scripts for standalone use
- Maintains duplicate checking and proper error handling
- Supports all 3 Lorcana sets: The First Chapter, Rise of the Floodborn, Into the Inklands
2025-07-24 12:27:10 -05:00
Randall Stillwell
b6f76297bc
Fix import issues: Add retry logic and better error handling
...
- Added retry logic with exponential backoff for Pokemon API calls
- Created Lorcana import endpoint with placeholder data
- Improved error handling for 504 timeouts and 404 not found errors
- Added longer delays for Pokemon imports to avoid rate limiting
- Enhanced logging for better debugging of import issues
- Fixed response parsing to handle different API response formats
2025-07-24 10:30:21 -05:00
Randall Stillwell
72c70c2248
Update .gitignore to exclude .next directory
2025-07-23 21:27:11 -05:00
Randall Stillwell
e75a4a6649
Major redesign: Enhanced card display with particle effects, improved filters, and search functionality
...
- Redesigned card display with 2.5:3.5 aspect ratio and image-only view
- Added infinite scroll to replace pagination
- Implemented authentic card back placeholders for MTG, Pokemon, and Lorcana
- Added rarity-based particle effects with tiered intensity (mythic/enchanted/rare/uncommon)
- Enhanced hover details panel with structured card information
- Fixed search functionality with debouncing and Enter key support
- Improved filter system with working TCG, rarity, set, and price filters
- Added favorite system for cards in both hover and detail views
- Updated card detail page with comprehensive metadata and actions
- Fixed API filtering with proper Vercel Postgres implementation
- Added particle animations and rarity glow effects
- Improved overall UX with better visual hierarchy and interactions
2025-07-23 21:26:54 -05:00
Randall Stillwell
c218dd53ac
Add simple API test without dependencies
2025-07-23 09:42:30 -05:00
Randall Stillwell
dc419f681b
Add database connection test API
2025-07-23 09:41:38 -05:00
Randall Stillwell
373f103810
Fix bcryptjs imports to use dynamic imports
2025-07-23 09:40:50 -05:00
Randall Stillwell
20c2439ff4
Add database setup API to create tables
2025-07-23 09:39:22 -05:00
Randall Stillwell
83776bc6be
Add authentication system and admin API endpoints
2025-07-23 09:38:16 -05:00
Randall Stillwell
2f94044832
Remove broken migration script that references deleted files
2025-07-23 09:34:37 -05:00
Randall Stillwell
f7e65bc21d
Fix TypeScript moduleResolution for build compatibility
2025-07-23 09:33:36 -05:00
Randall Stillwell
7be41b4490
Clean slate: Remove React traces and create pure Next.js setup
2025-07-23 09:32:31 -05:00
Randall Stillwell
2d4c4963b8
Simplify Vercel config to resolve API routing issues
2025-07-23 09:22:14 -05:00
Randall Stillwell
b4e011e8fa
Add minimal health check API
2025-07-23 09:21:29 -05:00
Randall Stillwell
b5e547df7b
Force fresh deployment to resolve configuration mismatch
2025-07-23 09:19:11 -05:00
Randall Stillwell
a528676f37
Add require() postgres test and update Vercel config
2025-07-23 08:53:08 -05:00
Randall Stillwell
dda057c1d6
Add basic test API without external dependencies
2025-07-23 08:51:59 -05:00
Randall Stillwell
07f8e49924
Add dynamic postgres import test and clean npm install
2025-07-23 08:50:51 -05:00
Randall Stillwell
339fb6f910
Update @vercel/postgres to latest version and add test APIs
2025-07-23 08:49:05 -05:00
Randall Stillwell
41a7eeef12
Fix API import paths and convert to Next.js Pages API format
2025-07-23 08:40:30 -05:00
Randall Stillwell
df48fd784d
Add simple Next.js API route
2025-07-23 08:32:03 -05:00
Randall Stillwell
9a86a5a834
Remove conflicting React app files to ensure Next.js deployment
2025-07-23 08:31:15 -05:00
Randall Stillwell
26dd9bea50
Add explicit Next.js framework configuration to vercel.json
2025-07-23 08:30:44 -05:00
Randall Stillwell
4f9575dc49
Force rebuild by removing .next directory
2025-07-23 08:30:03 -05:00
Randall Stillwell
3c9388a56e
Update Vercel config for Next.js app
2025-07-23 08:29:39 -05:00
Randall Stillwell
5737c6e1f0
Add simple test API
2025-07-23 08:29:09 -05:00
Randall Stillwell
e49ada09ba
Convert admin API to Next.js Pages API format
2025-07-23 08:28:42 -05:00
Randall Stillwell
2cc332e0a0
Move API routes to pages/api/ for proper Next.js structure
2025-07-23 08:27:14 -05:00
Randall Stillwell
873f4592c2
Convert from React to Next.js for proper API route support
2025-07-23 08:25:58 -05:00
Randall Stillwell
09bb380da6
Add simple test API to isolate the issue
2025-07-23 08:22:39 -05:00
Randall Stillwell
16228f8fa0
Add test endpoint and better error handling for database issues
2025-07-23 08:22:16 -05:00
Randall Stillwell
df5b3bfc44
Temporarily bypass auth for testing admin API
2025-07-23 08:21:46 -05:00
Randall Stillwell
8d7eb67a97
Fix auth imports and add proper admin access control - create auth-utils.js with verifyToken function
2025-07-23 07:05:14 -05:00
Randall Stillwell
49cfa31253
Consolidate API functions to stay within Vercel Hobby plan limits - reduce from 12+ to 8 functions
2025-07-23 06:57:22 -05:00
Randall Stillwell
7057417a89
Implement database-based card loading system - add card loader API, database search, and admin interface
2025-07-23 06:50:44 -05:00
Randall Stillwell
ee67b05e28
Improve Lorcana card data parsing - add comprehensive field mapping and debugging
2025-07-23 06:40:02 -05:00
Randall Stillwell
dbb0353def
Fix Lorcana API search syntax - use correct endpoints and search parameters
2025-07-23 06:34:21 -05:00
Randall Stillwell
0a09b333c4
Fix Lorcana API endpoints based on official documentation - update to correct API URLs
2025-07-23 06:28:22 -05:00
Randall Stillwell
5aa168bd24
Add CORS proxy for Lorcana APIs and improve error handling - fix CORS issues and 500 errors
2025-07-23 06:13:49 -05:00
Randall Stillwell
d27a04e460
Fix Lorcana API integration and user-cards 500 error - add dual API support and database table checks
2025-07-22 21:54:42 -05:00
Randall Stillwell
29e935b680
Fix API connection and Lorcana API issues - update API base URL to Vercel deployment and improve Lorcana API resilience
2025-07-22 21:48:45 -05:00
Randall Stillwell
40928bbbda
Add user cards API endpoints - fix Cards page error by implementing missing /api/user-cards endpoints
2025-07-22 21:43:53 -05:00
Randall Stillwell
d9ed0e911e
Add card view and table view toggle to CardDatabaseBrowser - enhanced browsing experience with dual view modes
2025-07-22 20:58:49 -05:00
Randall Stillwell
0c65919b02
Fix CardDatabaseBrowser issues - prevent drawer closing, add event handling, and improve debugging
2025-07-22 20:31:36 -05:00
Randall Stillwell
d9e7d856f0
Add responsive layout with side navigation for desktop and bottom navigation for mobile
2025-07-22 20:24:02 -05:00
Randall Stillwell
e29728e2be
Add Disney Lorcana support via Lorcast API - Complete integration with search, browse, and database population
2025-07-22 20:17:47 -05:00
Randall Stillwell
2f215da3ca
Fix TypeScript errors in card data sources - change null to undefined for price fields
2025-07-22 20:07:28 -05:00
Randall Stillwell
d21394d579
Add comprehensive card data sources integration with external APIs and database browser component
2025-07-22 20:00:10 -05:00
Randall Stillwell
4e71e29922
Complete CRUD implementation for Cards, Collections, and Decks with comprehensive data modeling and API services
2025-07-22 19:51:38 -05:00
Randall Stillwell
708c68fb07
✨ Update bottom navigation with raised scanner button
...
- Change Dashboard to Home in navigation
- Add raised purple scanner button in center
- Implement new nav layout: Home | Cards | Scanner | Collections | More
- Scanner button features elevated design with purple gradient
- Add proper active/inactive states for all nav items
- Remove unused navigationItems array to fix linting warning
- Perfect spacing with justify-around layout
2025-07-22 19:08:04 -05:00