Shinhati2023/product-grit
0
Product Grit Marketplace
Product Grit is a mobile-first, high-performance marketplace feed built with React, Vite, and Tailwind CSS. It features a "Liquid Glass" aesthetic and integrates directly with Hugging Face Datasets for persistent image storage.
๐ Dataset Connection
This application is connected to the following dataset for storage:
- Dataset Name:
Shinhati2023/gallery-storage - Function: User-uploaded images are automatically pushed to this dataset.
- Persistence: Images persist even if the Docker container restarts.
โจ Key Features
- Liquid Glass UI: A sophisticated, frosted-glass interface designed for modern mobile displays.
- Zero-State Workspace: Starts with a clean slate; content appears only after user interaction.
- Direct Uploads: Seamless integration with the Hugging Face Hub API to push content to
Shinhati2023/gallery-storage. - Mobile Optimized: Snap-scrolling, touch-friendly interactions, and hidden scrollbars for a native app feel.
๐ ๏ธ Tech Stack
- Framework: React 18 + TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS + Framer Motion
- Storage: Hugging Face Hub (
@huggingface/hub) - Deployment: Docker (Node 20 Alpine)
๐ Environment Configuration
To run this Space, you must configure the following Secret in your Space Settings:
Note: Go to Settings > Variables and secrets to add this token.
๐ฆ Local Development
To run this project locally:
- Clone the repository:
git clone [https://huggingface.co/spaces/Shinhati2023/product-grit](https://huggingface.co/spaces/Shinhati2023/product-grit)
cd product-grit- Install dependencies:
npm install- Set up environment: Create a
.envfile in the root:
VITE_HF_TOKEN=your_hf_write_token_here- Run the development server:
npm run dev