Enterprise-grade multi-service platform built with modern web technologies.
Rhine Official Site is a production-ready enterprise platform demonstrating full-stack development capabilities across multiple technologies while providing real business value.
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | Next.js 14, React 18 | UI Framework |
| Styling | Tailwind CSS | Responsive design |
| Language | TypeScript | Type safety |
| Backend | Supabase | Database, Auth, Storage |
| CDN | Cloudflare | DNS, Pages, R2 |
| CI/CD | GitHub Actions | Automated deployment |
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā Cloudflare ā
ā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā ā
ā ā DNS ā ā Pages ā ā R2 ā ā
ā ā (Domains) ā ā (Frontend) ā ā (Storage) ā ā
ā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā
ā¼
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā Supabase ā
ā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā ā
ā ā PostgreSQL ā ā Auth ā ā Storage ā ā
ā ā (Database) ā ā (Users/Roles)ā ā (Files) ā ā
ā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
# Clone repository
git clone https://github.com/Rhine-Solution/rhineofficialsite.git
cd rhineofficialsite
# Install dependencies
npm install
# Run development server
npm run dev
# Open http://localhost:3000
Create .env.local:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key
rhineofficialsite/
āāā app/ # Next.js App Router
ā āāā (public)/ # Public pages
ā āāā (auth)/ # Authentication
ā āāā (dashboard)/ # User dashboard
ā āāā (admin)/ # Admin panel
āāā components/ # React components
ā āāā ui/ # Base UI components
ā āāā layout/ # Layout components
ā āāā features/ # Feature components
āāā lib/ # Utilities
ā āāā supabase.ts # Supabase client
ā āāā utils.ts # Helper functions
āāā public/ # Static assets
āāā memory.md # Project documentation
āāā roadmap.mmd # Project roadmap
āāā README.md # This file
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run start |
Start production server |
npm run lint |
Run ESLint |
| Table | Description |
|---|---|
users |
User accounts with roles |
products |
E-commerce catalog |
orders |
Customer orders |
order_items |
Order line items |
appointments |
Booking system |
contacts |
Contact form submissions |
All tables have Row Level Security enabled with policies for:
| Service | URL | Platform |
|---|---|---|
| Main Site | https://www.rhinesolution.com | Cloudflare Pages |
| PHP Shop | https://shop.rhinesolution.com | Vercel (PHP) |
| Next.js App | https://rhineofficialsite.vercel.app | Vercel |
# Build the project
npm run build
# Deploy to Cloudflare Pages
npx wrangler pages deploy dist
| Feature | Status | Notes |
|---|---|---|
| User Authentication | ā Complete | Supabase Auth |
| Contact Form | ā Complete | Database storage |
| Product Catalog | ā Complete | From Supabase |
| Shopping Cart | ā Complete | Session-based |
| User Dashboard | ā Complete | With file upload |
| Travel Booking | š¶ In Progress | Next.js integration |
| Admin Panel | ā³ Planned | Phase 2 |
| Unified App | š¶ In Progress | Migration to Next.js |
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)MIT License - see LICENSE file for details.
Built with ā¤ļø using Next.js, Supabase, and Cloudflare.