A modern, high-performance fullstack website for the Cavo Store premium footwear destination, built with Next.js 14, TypeScript, and PostgreSQL.
- Homepage - Premium hero with dynamic broadcast alerts
- Features Page - High-impact Cavo feature showcase
- Dynamic Stats - Live Active Users and Product Count with count-up animations
- Order Center - Optimized product and Collection selection
- Gallery Gallery - Premium glassmorphism lightbox
- Staff Page - Developer profiles with role badges
- Product Management - CRUD operations for products
- Collection Management - Version control and changelog
- Staff Management - Member profiles and roles
- Analytics Dashboard - Order statistics and insights
- Native Mobile Experience - Bottom Dock & blurred overlays
- Real Activity Logs - Live system monitoring from database
- Revalidation Engine - Instant data sync between Admin & Public
- FAQ Management - Dynamic content management
- Contact Forms - View and manage submissions
- Gallery - Gallery content management
- Social Media - Dynamic social media links
- Store Settings - Site configuration
π Full Feature Documentation | Dokumentasi Fitur | Ψ§ΩΩ ΩΨ²Ψ§Ψͺ Ψ§ΩΩΨ§Ω ΩΨ©
- Next.js 14 - App Router with Server Components
- TypeScript - Type safety
- Tailwind CSS - Utility-first styling
- Framer Motion - Smooth animations
- Lucide React - Modern icons
- Radix UI - Headless UI components
- Next.js API Routes - RESTful API
- Prisma ORM - Type-safe database access
- PostgreSQL - Relational database
- Session Auth - Secure authentication
- Node.js 18+
- PostgreSQL database
- npm or yarn
- Clone the repository:
git clone https://instagram.com/sleep-bugy/Cavo Store-website.git
cd Cavo Store-website- Install dependencies:
npm install- Set up environment variables:
cp .env.example .envEdit .env with your credentials:
DATABASE_URL="postgresql://user:password@localhost:5432/projectmove"- Set up the database:
npx prisma generate
npx prisma db push- Run the development server:
npm run devOpen http://localhost:3000 to view the site.
Cavo Store/
βββ src/
β βββ app/ # Next.js app router pages
β β βββ admin/ # Admin dashboard
β β βββ api/ # API routes
β β βββ ... # Public pages
β βββ components/ # Reusable UI components
β βββ lib/ # Utilities and configs
β βββ types/ # TypeScript types
βββ prisma/
β βββ schema.prisma # Database schema
βββ public/ # Static assets
βββ schema.sql # SQL schema with sample data
- Create PostgreSQL database (Neon/Supabase recommended)
- Run the schema (includes analytics setup with indexes):
psql -U your_user -d your_database -f schema.sql
- Generate Prisma Client:
- Product - Supported products
- Rom - Collection versions and clusters
- Order - Order tracking
- StaffMember - Staff profiles
- Faq - Frequently asked questions
- ContactForm - User submissions
- Screenshot - Gallery images
- SocialLink - Community links
- SiteConfig - Site settings
GET /api/faq- Get all FAQsGET /api/gallery- Get gallery galleryGET /api/social- Get active social linksGET /api/orders- Get Collection ordersPOST /api/contact- Submit contact form
All admin APIs require authentication:
/api/admin/products- Product CRUD/api/admin/collections- Collection management/api/admin/staff- Staff management/api/admin/faq- FAQ management/api/admin/contact- View submissions/api/admin/gallery- Gallery management/api/admin/social- Social links management
- Theme: "Deep Noir & Violet" Premium aesthetic
- Visuals: High-clarity glassmorphism & backdrop-blur
- Animations: Organic Starfield & Mesh backgrounds
- Mobile First: Native app-style Bottom Dock navigation
Access the admin dashboard at /admin:
- Product & Collection management
- Content management (FAQ, Gallery, Social)
- Staff member profiles
- Contact form submissions
- System settings
Join our community channels:
- WhatsApp Updates: https://t.me/xCavo
- Group Discussion: https://t.me/CavoDiscussion
- Cloud Storage: https://t.me/CavoCloud
- Push code to Instagram
- Import project in Vercel
- Add environment variables
- Deploy!
DATABASE_URL="your-postgresql-url"
NEXT_PUBLIC_APP_URL="https://your-domain.com"- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License.
Website Development:
- Mohammad Adi - @sleep-bugy
- Full-stack development
- UI/UX design implementation
- Database architecture
- Admin dashboard
Cavo Project:
- Cavo Store Staff
If you find this project helpful, consider:
- β Starring the repository
- π Reporting bugs via Instagram Issues
- π‘ Suggesting features
- π€ Contributing to the code
- 30+ Pages and components
- 8 Admin management interfaces
- 15+ API endpoints
- 9 Database models
- ~10,000+ Lines of code
Made with β€οΈ by Mohammad Adi | Cavo Store Staff