A comprehensive, professional tube bender comparison platform designed to help users choose the best equipment for their needs.
git clone https://github.com/yourusername/tubebenderreviews.git
cd tubebenderreviews
npm installCreate a .env file:
DATABASE_URL="your-neon-postgresql-url"
JWT_SECRET="your-32-character-secret"
SESSION_SECRET="your-32-character-secret"
NODE_ENV="development"npm run db:pushnpm run dev- Frontend: React 18 + TypeScript + Tailwind CSS
- Backend: Node.js 20+ + Express.js
- Database: PostgreSQL (NEON serverless)
- Authentication: JWT with bcrypt
- Build System: Vite + ESBuild
├── client/ # React frontend
│ ├── src/
│ │ ├── components/ # Reusable UI components
│ │ ├── pages/ # Route components
│ │ ├── hooks/ # Custom React hooks
│ │ └── lib/ # Utilities
├── server/ # Express backend
│ ├── routes.ts # API endpoints
│ ├── storage.ts # Database layer
│ ├── auth.ts # Authentication
│ └── diagnostics.ts # Debug system
├── shared/ # Shared types/schemas
└── .github/workflows/ # CI/CD automation
- ✅ Comprehensive Reviews: 12 tube bender models with detailed specs
- ✅ Scoring Algorithm: Transparent 100-point rating system
- ✅ Advanced Filtering: Price, manufacturer, features, availability
- ✅ Smart Finder: Personalized recommendations based on needs
- ✅ Admin Panel: Real-time content management
- ✅ Mobile Responsive: Optimized for all devices
- ✅ Diagnostic Tools: Built-in debugging at
/__debug
- Login:
/admin-login - Username:
admin - Password:
admin123 - Panel:
/admin - Diagnostics:
/__debug
- Push to GitHub
- Configure secrets in repository settings
- GitHub Actions will automatically deploy
docker build -t tubebenderreviews .
docker run -p 5000:5000 tubebenderreviews- Import from GitHub
- Set environment variables
- Deploy automatically
npm run dev # Start development server
npm run build # Build for production
npm run start # Start production server
npm run db:push # Push database schema
npm run check # TypeScript type checking- Lighthouse Score: 95+ across all metrics
- Bundle Size: Optimized with code splitting
- Database: Efficient queries with Drizzle ORM
- Caching: Strategic API response caching
- ✅ JWT authentication with secure tokens
- ✅ Rate limiting on all endpoints
- ✅ Input validation with Zod schemas
- ✅ CSRF protection
- ✅ Secure headers with Helmet
- ✅ Password hashing with bcrypt
Built-in diagnostic system provides:
- Real-time performance metrics
- Database connection status
- API endpoint health checks
- Error tracking and logging
- Memory usage monitoring
Access diagnostics at /__debug endpoint.
Built with modern web technologies for reliability, performance, and maintainability.