Files
terminalShop/.gitignore
marcusDenslow 18c7a93e0b feat: implement server-side cart persistance with Stripe PaymentIntents
feat: implement server-side cart persistence with Stripe PaymentIntents

Replaced the client-only in-mem cart with a database-backed cart system

- Add Cart and CartItem GORM models (two-table design)
- Add 6 cart API endpoints (get, set item, set address, set card, clear,
conver)
- Switch from Stripe Charge API to PaymentIntents with confirm:true
- Add 9 API client methods for cart and card operations
- Refactor TUI cart from map[int] (slice index) to map[uint] (CoffeeID)
- Replace single-shot checkout with saveCardAndConvert multi-step flow
- Add CheckingOut state with "submitting order..." processing indicator
- Fix Stripe tokenization to use secret key for server-side SSH apps
- Remove admin product CRUD endpoints and old checkout handler
2026-02-28 15:01:06 +01:00

85 lines
945 B
Plaintext

# Environment variables
.env
.env.local
.env.production
.env.example
# Build artifacts
*.exe
*.exe~
*.dll
*.so
*.dylib
terminalshop
server_bin
terminalshop_*
# Go test/coverage files
*.test
*.out
coverage.txt
coverage.html
# Dependency directories
vendor/
# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
.claude/
# ssh config
.ssh/
# Logs
*.log
output.log
logs/
# Database files (if using SQLite for development)
*.db
*.sqlite
*.sqlite3
# SSH keys
ssh_host_key
ssh_host_key.pub
*.pem
*.key
# Temporary files
tmp/
temp/
*.tmp
# OS-specific
Thumbs.db
.DS_Store
# random stuff like ai and shit
CLAUDE.md
AGENTS.md
MODELS.md
REFACTORING.md
TODO.md
codebase_graph.html
# Don't commit the cloned reference repo (optional - you might want to keep it)
# terminal-shop-source/
# API documentation (auto-generated)
api/docs/
# Migration state (if using a migration tool that creates state files)
migrations/*.state