Skip to content

Plant Planner by Fadhal Shulhan#2

Open
fadhalshulhan wants to merge 26 commits intoH8-FSJS-P2S6:mainfrom
fadhalshulhan:development
Open

Plant Planner by Fadhal Shulhan#2
fadhalshulhan wants to merge 26 commits intoH8-FSJS-P2S6:mainfrom
fadhalshulhan:development

Conversation

@fadhalshulhan
Copy link

No description provided.

@fadhalshulhan fadhalshulhan changed the title Development Plant Planner by Fadhal Shulhan Apr 29, 2025
…ler for email reminders, Cloudinary for photo uploads)
…components, and API improvements

- **Client**:
  - Added new favicon and manifest files for improved PWA support
  - Introduced new components: Button, Layout, LoadingSpinnerLottie, ProtectedRoute, Shimmer, TimeAgo
  - Added assets for login background and logo
  - Refactored README to `README FE.md` and removed old README
  - Updated Navbar, PlantCard, PlantForm, and page components (Home, Login, Plants, Recommendation)
  - Enhanced Redux slices (auth, plant, weather) and Tailwind/Vite configurations
  - Modified `.gitignore`, `index.html`, and `package.json`

- **Server**:
  - Added new test suite for authController and renamed plant tests
  - Introduced `plantphoto` model and migration
  - Refactored controllers: auth, plant, weather, and replaced recommendationController with Gemini-based version
  - Added `authMiddleware`, `reminderScheduler`, and `server.js` for improved server setup
  - Updated Cloudinary, email config, and API documentation
  - Removed deprecated files: `users.json`, `helper.js`, old middleware, and recommendationController
  - Modified routes, migrations, models, and `package.json`
- Added species prediction with Google GenAI in plantController.js
- Implemented Gmail OAuth for email reminders with token management
- Created EmailController.js for OAuth2 email sending
- Added token model and migration for storing Gmail tokens
- Integrated dynamic background images via Pixabay API in Login.jsx, Profile.jsx, and Register.jsx
- Enhanced PlantForm.jsx with species prediction and loading/error UI
- Updated PlantCard.jsx with improved styling
- Commented out unused div in Home.jsx
- Improved Profile.jsx with form validation and UI enhancements
- Added lodash dependency for debouncing in PlantForm.jsx
- Updated Firebase hosting cache
- Expanded API_DOCS.md with new endpoints and details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant