A full-stack, production web application for discovering and managing local businesses across Israel.
Live: mefargenim.biz
Mefargenim is a full-stack business directory platform built with Next.js 16 (App Router). It allows business owners to list and manage their presence online, while users can browse, search, and interact with local businesses through a fast, SEO-optimized interface.
| Layer | Technology |
|---|---|
| Framework | Next.js 16 (App Router, SSR/SSG) |
| UI | React 19, TypeScript |
| Database | MongoDB |
| Auth & Storage | Firebase |
| Server State | TanStack Query v5 |
| Client State | Zustand |
| SEO | next-sitemap |
- Business Listings β Browse and search local businesses with dedicated listing pages
- Owner Dashboard β Business owners can create and manage their listing
- Authentication β Google OAuth via Firebase
- Like System β Optimistic UI updates with persistent like tracking
- Admin Panel β Internal tools for managing listings, including CSV import/export
- Blog β Content section with landing-page and tips articles
- REST API β Next.js Route Handlers for businesses, users, likes, and email
- SEO β Auto-generated sitemap on every build via
next-sitemap
src/
βββ app/
β βββ api/ # Route Handlers (biz, users, likes, email, sitemap)
β βββ business/ # Business listing pages
β βββ dashboard/ # Owner dashboard
β βββ my-business/ # Business management
β βββ blog/ # Blog articles
β βββ admin123/ # Admin panel
βββ components/ # Shared UI components (BizCard, Navbar, Footer, ...)
βββ hooks/ # TanStack Query hooks (useBusiness, useBusinesses, ...)
βββ services/ # Data access layer (MongoDB, Firebase, likes, users)
βββ store/ # Zustand stores (userStore, likesStore)
βββ providers/ # React context providers
# Install dependencies
npm install
# Run dev server
npm run dev
# Build for production
npm run buildCreate a .env.local file with:
MONGODB_URI=
FIREBASE_API_KEY=
FIREBASE_AUTH_DOMAIN=
FIREBASE_PROJECT_ID=
FIREBASE_STORAGE_BUCKET=
FIREBASE_MESSAGING_SENDER_ID=
FIREBASE_APP_ID=
Developed by David Marom Β· 2026 Β· stealthCode.co