A modern product search application built with React 18 and Vite, connected to RESTHeart Cloud backend.
- Real-time product search by name
- Filter by price range
- Filter by category
- Responsive design
- Beautiful gradient UI
- Install dependencies:
npm install- Configure your RESTHeart Cloud instance:
cp .env.example .env
# Edit .env and set VITE_RESTHEART_URL to your RESTHeart Cloud instance- Run development server:
npm run dev- Build for production:
npm run buildMake sure you have set up your RESTHeart Cloud backend as described in the documentation.
You need:
- A
productscollection with sample data - Permissions configured for unauthenticated read access
- React 18 (with Hooks)
- Vite
- Native Fetch API for HTTP requests
src/
├── App.jsx # Main application component
├── App.css # Styles
└── main.jsx # Application entry point