A modern full-stack digital bookstore built with SvelteKit 5 (frontend) and Go Fiber (backend).
- Hybrid cart system (guest + authenticated users)
- Secure JWT authentication with httpOnly cookies
- Stripe Checkout + Webhook integration
- Order history and user dashboard
- Responsive design with dark/light mode
- Full SSR with SvelteKit 5 Runes
- Frontend: SvelteKit 5 (Runes), TypeScript, SCSS Modules
- Backend: Go, Fiber, GORM
- Database: PostgreSQL (Supabase)
- Payments: Stripe
- Deployment: Vercel (Frontend) + Render (Backend)
- Clean layered architecture (Handler → Service → Repository)
- Smart hybrid cart with automatic guest-to-user merging
- Secure cookie-based auth with proper CORS
- Production-ready setup with Docker
# Frontend
cd frontend
npm install
npm run dev
# Backend
cd ../backend
docker compose up --build