https://github.com/babladey275/plantnet_client
PlantNet is an e-commerce platform dedicated to plants, where customers can browse and purchase plants, while sellers manage their inventory and orders through a dedicated dashboard. Admins review and approve seller applications to maintain platform quality.
https://github.com/babladey275/plantnet_client
axios express-js firebase imgbb-api nodemailer react react-query stripe-payments sweetalert2
Last synced: 3 months ago
JSON representation
PlantNet is an e-commerce platform dedicated to plants, where customers can browse and purchase plants, while sellers manage their inventory and orders through a dedicated dashboard. Admins review and approve seller applications to maintain platform quality.
- Host: GitHub
- URL: https://github.com/babladey275/plantnet_client
- Owner: babladey275
- Created: 2025-02-27T19:21:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-20T14:00:09.000Z (about 1 year ago)
- Last Synced: 2025-04-20T15:21:23.675Z (about 1 year ago)
- Topics: axios, express-js, firebase, imgbb-api, nodemailer, react, react-query, stripe-payments, sweetalert2
- Language: JavaScript
- Homepage: https://plantnet-de0a5.web.app/
- Size: 324 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PlantNet
PlantNet is an e-commerce platform dedicated to plants, where customers can easily browse and purchase plants while sellers manage their inventory and orders through a dedicated dashboard. The platform features secure login/signup with Firebase Authentication, integrated Stripe for fast and secure payments, and a streamlined process for sellers to add, update, or delete plant listings. Admins have the ability to review and approve seller applications to maintain platform quality. Built with **React**, **React Query** for state management, **React Router** for navigation, and styled using **Tailwind CSS**. Powered by Vite for fast development and build processes.
---
## Main Technologies Used
- **React**: A JavaScript library for building user interfaces, providing fast and responsive views.
- **React Router**: Used for navigating between different pages in the app.
- **React Query**: A powerful data-fetching library that helps with managing asynchronous server data, caching, and background syncing.
- **Tailwind CSS**: A utility-first CSS framework for rapidly building custom user interfaces.
- **Vite**: A fast build tool and development server for modern web projects, providing fast refresh and hot-reloading.
- **Firebase**: For user authentication, real-time data, and more backend functionalities (if integrated).
- **Stripe**: For handling payment processing on the platform.
- **Headless UI**: A set of completely unstyled, fully accessible UI components to create custom-designed components in React.
- **React Date Range**: A library for selecting date ranges in the UI, used for handling orders and inventory management.
---
## Features
### **For Customers**
- **Browse Plants**: Customers can explore a catalog of plants with details like images, descriptions, and prices.
- **Plant Details Page**: Users can view more detailed information about each plant by clicking on it.
- **Place Orders**: Customers can add plants to their shopping cart and complete orders.
- **Order History**: Customers can track their orders from purchase to delivery.
### **For Sellers**
- **Add Plants**: Sellers can add new plants to the catalog, including uploading images and setting prices.
- **Manage Inventory**: Sellers can manage their plant inventory, including adding, updating, and removing plants.
- **Order Management**: Sellers can view and manage customer orders, including shipping status and other details.
- **Dashboard**: A comprehensive dashboard to view order statistics and manage the plant catalog.
### **For Admins**
- **Manage Users**: Admins can manage users on the platform, including sellers and customers, as well as access detailed user statistics.
### **General Features**
- **User Authentication**: Secure login/signup system for both customers and sellers using Firebase Authentication.
- **Responsive Design**: The website is fully responsive and optimized for mobile, tablet, and desktop devices.
- **Toasts & Notifications**: Real-time notifications using **react-hot-toast** for smooth user interactions.
---
## Dependencies
Here’s a list of the major dependencies used in the project:
### **Dependencies**
- `@headlessui/react`: UI components with no default styling, allowing easy customization.
- `@stripe/react-stripe-js`, `@stripe/stripe-js`: Integration with Stripe for payment processing.
- `@tanstack/react-query`: Data-fetching and state management library for React.
- `axios`: Promise-based HTTP client for making API requests.
- `daisyui`: A component library built on top of Tailwind CSS for easily styled UI components.
- `firebase`: Firebase SDK for authentication and backend services.
- `prop-types`: Runtime type checking for React props.
- `react`: Core React library.
- `react-dom`: React DOM bindings for rendering.
- `react-helmet-async`: Library for managing document head, adding metadata to the page.
- `react-hot-toast`: For toast notifications and alerts.
- `react-icons`: A library for using icons in React.
- `react-router-dom`: A declarative routing library for React.
- `react-spinners`: A collection of loading spinners for React.
- `recharts`: Charting library for displaying statistics and data visualization.
### **DevDependencies**
- `@eslint/js`: JavaScript linting configuration for ESLint.
- `@types/react`, `@types/react-dom`: TypeScript typings for React.
- `@vitejs/plugin-react`: Vite plugin for React support.
- `autoprefixer`, `postcss`, `tailwindcss`: PostCSS and Tailwind CSS utilities for CSS processing and styling.
- `eslint`: Linting tool for JavaScript/React code quality.
- `eslint-plugin-react`, `eslint-plugin-react-hooks`: Plugins for linting React-specific code.
- `vite`: Development server and build tool for fast, optimized frontend applications.
---
### Admin Access
**User**: admin@gmail.com
**Password**: abc123
### Seller Access
**User**: seller@gmail.com
**Password**: abc123
**live link**: https://plantnet-de0a5.web.app/
**Server Code**: https://github.com/babladey275/plantNet-server