An open API service indexing awesome lists of open source software.

https://github.com/smnahidweb/tree-plant-store-client

A dynamic and responsive React application where users can explore a curated list of trees and manage their personal collection. This project encourages environmental awareness by allowing users to maintain a digital garden with full authentication and theming support.
https://github.com/smnahidweb/tree-plant-store-client

daisyui firebase-auth js react react-router tailwindcss

Last synced: about 2 months ago
JSON representation

A dynamic and responsive React application where users can explore a curated list of trees and manage their personal collection. This project encourages environmental awareness by allowing users to maintain a digital garden with full authentication and theming support.

Awesome Lists containing this project

README

          

# ๐ŸŒฑ TreePlant

TreePlant Logo

A dynamic and responsive web application that allows users to explore a curated collection of plants and manage their personal garden digitally. Built with the MERN stack (React, Express, MongoDB), TreePlant promotes environmental awareness and encourages users to grow and maintain their favorite trees virtually.

---

## ๐ŸŒ Live Website

๐Ÿ”— [Visit Live Site](https://tree-plant-store.web.app/)

---

---

## ๐Ÿš€ Key Features

- ๐Ÿ” Firebase Authentication (Login/Register/Logout)
- ๐Ÿชด Add, Update, Delete plants (user-specific)
- ๐ŸŒ— Global Theme Toggle (Dark/Light)
- ๐Ÿ” Filter plants by category (Fruit, Flower, Indoor)
- ๐Ÿ“… Human-readable timestamps with `date-fns`
- โœ… Toast messages using `react-toastify`
- ๐Ÿ’ก Tooltips for better UX using `react-tooltip`
- ๐ŸŒ SPA routing with `react-router-dom`
- โœจ Scroll-based animations via AOS
- ๐Ÿ“ฑ Fully responsive and mobile-friendly

---

## โš™๏ธ Technologies Used

### ๐Ÿ’ป Frontend
- React
- Tailwind CSS
- DaisyUI
- React Router
- Firebase Auth

### ๐Ÿงช Backend
- Node.js (Optional)
- Express.js (Optional)
- MongoDB Atlas (Optional)

---
## ๐Ÿ“ก API Endpoints

---

### ๐Ÿ“ฆ Packages

| Method | Endpoint | Description |
|--------|-----------------|------------------------------|
| GET | `/packages` | Get all tour packages |
| GET | `/packages/:id` | Get a tour package by ID |
| POST | `/packages` | Add a new tour package |
| PATCH | `/packages/:id` | Update a tour package by ID |
| DELETE | `/packages/:id` | Delete a tour package by ID |

---

### ๐Ÿ‘ค Users

| Method | Endpoint | Description |
|--------|-----------------|------------------------------|
| GET | `/users` | Get all users |
| GET | `/users/:email` | Get user info by email |
| POST | `/users` | Register or save a new user |
| PATCH | `/users/:id` | Update user info or role |

---

### ๐Ÿ“„ Bookings

| Method | Endpoint | Description |
|--------|-------------------|--------------------------------|
| GET | `/bookings` | Get all bookings |
| GET | `/bookings/:email`| Get bookings of a specific user|
| POST | `/bookings` | Create a new booking |
| DELETE | `/bookings/:id` | Cancel or delete a booking |

---

## ๐Ÿ“ฆ Main Dependencies

```bash
react, react-router-dom, firebase, react-icons,
aos, react-tooltip, react-toastify, axios,
classnames, date-fns, vite,
@vitejs/plugin-react, @heroicons/react, @headlessui/react

## ๐Ÿ“ฆ Locally Run
git clone https://github.com/smnahidweb/tree-plant.git
cd tree-plant