Market Monitor is a real-time, role-based MERN Stack application built to monitor, manage, and analyze local market product prices. With user-friendly dashboards, vendor controls, Stripe payments, live filtering, dynamic ads, and interactive price charts β this platform empowers users, vendors, and admins with complete insight and control over marketplace dynamics.
Designed to simplify local market price tracking and management with secure access, interactive UI, and intelligent product handling β making it ideal for both consumers and market vendors.
π Visit Market Monitor
- π Secure login via Firebase Authentication
- π€ User Dashboard: Watchlist, Orders, Price Trend Analytics
- π Vendor Dashboard: Add/Edit Products & Ads
- π Admin Dashboard: Manage Users, Products, Ads, Orders
- β Products require admin approval before listing
- π Vendors can manage products (create, edit, delete)
- π Vendors can track historical prices
- π Filter products by date or range
- πΈ Sort by price (ascending/descending)
- π Admin-only server-side search for users/orders
- π Secure product payments via Stripe Checkout
- β Orders saved post-payment with status tracking
- π’ Success/Error feedback via SweetAlert with redirect
- π Interactive Recharts-based graphs
- π Compare historical prices over time
- π Helps users make smarter buying decisions
- β Add items to personalized watchlist
- π Track price trends of saved products
- β Remove with confirmation modals
- π€ Vendors can submit advertisements
- β Admin approval/rejection with feedback modal
- π Dynamic status: pending, approved, or rejected
- π Firebase ID token-based protected routes
- π‘οΈ Express custom middleware for role-based access
- React, React Router DOM
- Axios with secure interceptors
- React Query for data fetching and caching
- Framer Motion & Lottie for animations
- Tailwind CSS + DaisyUI themes
- Recharts for charting
- Stripe.js,
@stripe/react-stripe-js
- Node.js + Express.js
- MongoDB (CRUD, filter, aggregate)
- Firebase Admin SDK for token verification
- Middleware for role protection
- CORS, Dotenv, Morgan
- π¨ Dark Mode using DaisyUI (
fantasy&abyss) - π± Fully responsive & mobile-friendly
- π§© Reusable and well-structured components
- π― Real-time Firebase role validation middleware
- π‘ Optimized UI with motion, modals, loaders, and fallback UIs
- π― Public preview of 6 approved products
- π’ Advertisements carousel
- π Trend animations (Framer Motion)
- ποΈ Filter by date or range
- π Search by keyword
- πΈ Sort by price
- π¬ User reviews with ratings
- π Recharts-based price comparisons
- β Add to Watchlist
- π³ Purchase via Stripe
- π Track price analytics
- β Manage Watchlist
- π§Ύ View orders and details
- π Submit daily prices
- π· Upload product photos
- π§Ύ Manage product listings & ads
- π₯ Manage all users/roles
- π Approve/Reject products & ads
- π Feedback modals for rejection
- π§Ύ Monitor and search all orders/users
VITE_FIREBASE_API_KEY=...
VITE_FIREBASE_AUTH_DOMAIN=...
VITE_FIREBASE_PROJECT_ID=...
VITE_FIREBASE_STORAGE_BUCKET=...
VITE_FIREBASE_MESSAGING_SENDER_ID=...
VITE_FIREBASE_APP_ID=...FIREBASE_TYPE=...
FIREBASE_PROJECT_ID=...
FIREBASE_PRIVATE_KEY=...
FIREBASE_CLIENT_EMAIL=...
STRIPE_SECRET_KEY=...cd client
npm install
npm run devcd server
npm install
npm run devSee below for a list of major libraries and tools used in the frontend. Sure! Here's the README section with just the dependencies, formatted and ready to copy:
- react
- react-dom
- react-router-dom
- tailwindcss
- daisyui
- aos (scroll animations)
- lottie-react (vector animations)
- react-icons
- react-responsive-carousel
- recharts
- react-countup
- react-datepicker
- react-hook-form
- react-toastify
- sweetalert2
- react-tooltip
- react-simple-typewriter
- axios
- firebase
- @tanstack/react-query
- react-infinite-scroll-component
- @stripe/react-stripe-js
- @stripe/stripe-js
- vite
- @vitejs/plugin-react
- eslint
- @eslint/js
- eslint-plugin-react-hooks
- eslint-plugin-react-refresh
- @types/react
- @types/react-dom
- globals
- π Client: Deployed on Netlify
- βοΈ Server: Hosted on Vercel with domain whitelisting
- π Firebase: Auth domain and token verification active
- π¦ MongoDB Atlas for production database
- β All routes secured, tested, and optimized
Star β this repo, clone it, and start building your bookshelf today!
π¨βπ Abdullah Al Noman
π LinkedIn β’
π Github β’
βMarket Monitor is a showcase of everything Iβve learned β from secure API handling to animation-rich frontend experiences.β
π‘ βA reader lives a thousand lives before he dies. The man who never reads lives only one.β β George R.R. Martin
Feel free to connect or collaborate!