Skip to content

Repository files navigation

furrydelight-3d-marketplace

Interactive 3D cat food marketplace providing an immersive shopping experience.

Developed with the software and tools below.

React Three.js TypeScript Tailwind CSS
git-last-commit GitHub commit activity GitHub top language

πŸ“‘ Table of Contents

  • πŸ“ Overview
  • πŸ“¦ Features
  • πŸ“‚ Structure
  • πŸ’» Installation
  • πŸ—οΈ Usage
  • 🌐 Hosting
  • πŸ“œ API Documentation
  • πŸ“„ License
  • πŸ‘ Authors

πŸ“ Overview

This repository showcases a 3D interactive landing page designed for a cat food marketplace. It provides an engaging online shopping experience using React, Three.js, and React Three Fiber. This MVP emphasizes interactive product exploration and visual appeal.

πŸ“¦ Features

Feature Description
🧊 3D Scene Management ThreeScene.tsx: Core Three.js scene setup with camera, lighting, and controls.
βš™οΈ 3D Model Loading ModelLoader.tsx: Loads and optimizes 3D models (GLTF) for web delivery.
✨ Animation System use3DAnimation.ts: Manages and controls animations on 3D objects.
πŸ“œ Scroll-Triggered Effects ScrollScene.tsx: Creates 3D scene animations driven by scroll events.
πŸ‘† Interactive Elements use3DInteraction.ts: Enables click, hover, and drag interactions with 3D objects.
🎨 Theming and Styling Tailwind CSS: Provides a utility-first CSS framework for consistent and responsive styling.
πŸ—ΊοΈ Route Management React Router: Enables navigation between different sections of the site (Home, About, Contact, etc.).
πŸš€ Optimized Performance Model optimization, lazy loading, and adaptive rendering for smooth user experience.

πŸ“‚ Structure

furrydelight-3d-marketplace/
β”œβ”€β”€ public/                  # Static assets (3D models, textures, fonts, etc.)
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/           # React components
β”‚   β”‚   β”œβ”€β”€ 3d/              # 3D related components
β”‚   β”‚   β”‚   β”œβ”€β”€ core/          # Core 3D components (Scene, Camera, Lights)
β”‚   β”‚   β”‚   β”œβ”€β”€ models/        # 3D model components (CatFoodModel, etc.)
β”‚   β”‚   β”œβ”€β”€ layout/        # Reusable React layout components.
β”‚   β”‚   β”‚   β”œβ”€β”€ Header.tsx        # Contains the header content.
β”‚   β”‚   β”‚   β”œβ”€β”€ Footer.tsx        # Contains the footer content.
β”‚   β”‚   β”œβ”€β”€ sections/       # React sections related to the main landing page and sections.
β”‚   β”‚   β”‚   β”œβ”€β”€ LandingHero.tsx    # Contains the Hero for the 3D landing page.
β”‚   β”‚   β”œβ”€β”€ ui/             # Basic Reusable React UI components.
β”‚   β”‚   β”œβ”€β”€ 3d/
β”‚   β”‚   β”‚   β”œβ”€β”€ ThreeScene.tsx    # Used for all the basic 3D scene.
β”‚   β”‚   β”‚   β”œβ”€β”€ ModelLoader.tsx     # General method to load models into the 3D scenes.
β”‚   β”‚   β”œβ”€β”€hooks/                  # All reusable React hooks.
β”‚   β”‚   β”‚   β”œβ”€β”€ use3DAnimation.tsx     # Used to animate and generate threeJS models.
β”‚   β”‚   β”‚   β”œβ”€β”€ use3DInteraction.tsx          # Provides a way to use interactions with 3D scenes.
β”‚   β”œβ”€β”€ pages/             # React pages
β”‚   β”‚   β”œβ”€β”€ HomePage.tsx     # Main landing page
β”‚   β”œβ”€β”€ utils/              # Utility functions
β”‚   β”‚   β”œβ”€β”€ three-helpers.ts  # Utility functions for Three.js operations
β”‚   β”‚   β”œβ”€β”€ modelManager.ts   # Manages 3D model caching and optimization
β”‚   β”œβ”€β”€ App.tsx              # Main application component
β”‚   β”œβ”€β”€ main.tsx             # Entry point for React
β”œβ”€β”€ index.html             # HTML entry point
β”œβ”€β”€ package.json           # Project dependencies and scripts
β”œβ”€β”€ vite.config.ts         # Vite configuration
└── tsconfig.json          # TypeScript configuration

πŸ’» Installation

Warning

πŸ”§ Prerequisites

  • Node.js v18 or higher
  • npm v8 or higher
  • Git

πŸš€ Setup Instructions

  1. Clone the repository:
git clone https://github.com/coslynx/furrydelight-3d-marketplace.git
cd furrydelight-3d-marketplace
  1. Install dependencies:
npm install
  1. Set up environment variables:
cp .env.example .env
# Fill in required environment variables in .env file

πŸ—οΈ Usage

πŸƒβ€β™‚οΈ Running the MVP

  1. Start the development server:
    npm run dev
  2. Access the application at http://localhost:5173

Tip

βš™οΈ Configuration

  • Modify src/App.tsx to customize the website title, navigation links, and other configurations.
  • Adjust 3D model paths in src/components/sections/LandingHero.tsx to use custom models.

πŸ’‘ Examples

  • Displaying the Landing Page: Navigate to the root URL / to view the 3D landing page.

🌐 Hosting

πŸš€ Deployment Instructions

Deploying to Vercel

  1. Create a Vercel account and install the Vercel CLI:
npm install -g vercel
  1. Link your local project to Vercel:
vercel link
  1. Deploy the project:
vercel deploy --prod

πŸ”‘ Environment Variables

  • VITE_APP_TITLE: Sets the title of the application. Example: FurryDelight 3D

πŸ“œ API Documentation

This MVP does not include a backend API. It is a front-end project focused on showcasing 3D content.

πŸ“„ License & Attribution

Note

πŸ“œ License & Attribution

πŸ“„ License

This Minimum Viable Product (MVP) is licensed under the MIT License.

πŸ€– AI-Generated MVP

This MVP was entirely generated using artificial intelligence through CosLynx.com.

No human was directly involved in the coding process of the repository: furrydelight-3d-marketplace

πŸ“ž Contact

For any questions or concerns regarding this AI-generated MVP, please contact CosLynx at:

🌐 CosLynx.com

Create Your Custom MVP in Minutes With CosLynxAI!

Releases

Packages

Used by

Contributors

Languages