Public
Like
Paymentsys
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
A Gen Z-style marketplace for second-hand trainers with integrated payment processing and feedback system.
- 🛒 Browse and purchase second-hand trainers
- 💳 Secure payment processing (Visa/Mastercard via Stripe)
- 📸 Admin area for posting trainers with photo links
- 💬 Customer feedback system
- 📱 Mobile-first responsive design
- 🎨 Gen Z aesthetic with vibrant colors and modern UI
├── backend/
│ ├── index.ts # Main Hono server
│ ├── database/
│ │ ├── migrations.ts # Database schema
│ │ └── queries.ts # Database operations
│ └── routes/
│ ├── trainers.ts # Trainer CRUD operations
│ ├── payments.ts # Stripe payment processing
│ └── feedback.ts # Customer feedback
├── frontend/
│ ├── index.html # Main page
│ ├── admin.html # Admin panel for posting trainers
│ ├── components/
│ │ ├── App.tsx # Main React app
│ │ ├── TrainerCard.tsx
│ │ ├── PaymentModal.tsx
│ │ └── FeedbackForm.tsx
│ └── style.css # Custom styles
└── shared/
└── types.ts # Shared TypeScript types
- Payment Integration: See SETUP.md for detailed Stripe setup instructions
- Environment Variables: Set your Stripe keys in Val Town environment variables
- Database: Automatically initialized on first run
- Admin Access: Visit
/adminto add trainers to your inventory
- Visit the main site to see the Gen Z-styled marketplace
- Go to
/adminto add your first trainers - Customers can browse, purchase, and leave feedback
- Set up Stripe for payment processing (see SETUP.md)
The website is now live and includes:
- ✅ Sample trainers (Nike Air Max 90, Adidas Stan Smith, Converse Chuck Taylor)
- ✅ Customer feedback system with sample reviews
- ✅ Responsive Gen Z design with animations and glass morphism
- ✅ Admin panel for inventory management
- ✅ Payment processing infrastructure (needs Stripe keys)
- ✅ Mobile-optimized interface
- Backend: Hono + SQLite
- Frontend: React + TailwindCSS
- Payments: Stripe
- Storage: Val Town Blob + SQLite