Skip to content

Latest commit

Β 

History

196 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌍 JourneyCusine (JC Travels) β€” Next-Gen Culinary Travel & Stay Platform 🏨✨

React 19 TailwindCSS Node.js MongoDB Socket.io Google Gemini AI CodeQL Security License: MIT

πŸš€ Explore Stays, Taste Cultures, Connect Travelers.


πŸŽ‰ The Grand Comeback: We Are Finally Back!

Dear JourneyCusine Community & Travelers Worldwide,
After a 2-year long wait, we are ecstatic to announce that JourneyCusine is officially BACK and completely reborn! 🌟

What started as an Airbnb-inspired travel concept has evolved into a full-scale, enterprise-grade culinary accommodation ecosystem. We listened to all your feedback, rebuilt our core infrastructure from scratch, eliminated legacy bottlenecks, integrated cutting-edge AI capabilities, and hardened our application to enterprise security standards.

Thank you for your incredible patience and loyalty. The journey resumes now! πŸš€βœˆοΈπŸ½οΈ


🌟 Brand-New Features & Capabilities

πŸ€– 1. AI-Powered Travel Concierge & Smart Copilot

  • Interactive Travel Assistant: Powered by Google Gemini AI with fallback contextual engines. Ask for trip itineraries, stay comparisons, culinary guides, or cost breakdowns.
  • AI Listing Description Generator: Hosts can generate high-converting listing copywriting, titles, and neighborhood highlights in seconds.
  • Smart Dynamic Pricing: Machine learning pricing engine providing intelligent rates based on seasonality, location demand, and room capacity.
  • Multimodal Image Safety Moderation: Automated visual AI safety scanner checking uploaded images against community guidelines before publishing.

🍲 2. Culinary Experiences & Local Food Secrets

  • Signature Dining Add-ons: Guests can add authentic host-prepared meals (Breakfast, Chef's Dinner, Wine Tastings, Vegan Feasts) directly to their motel booking with dietary preferences.
  • Curated Local Food Secrets: Hosts showcase hidden street food gems, traditional markets, and authentic cafes with interactive maps and dish recommendations.

πŸ‘₯ 3. Group Trip Collaboration & Split-Pay

  • Live Trip Boards: Plan group vacations with custom destination timelines and activity boards.
  • Shareable Invite Codes: Invite travel companions via unique 6-character room codes.
  • Automated Split-Payment Calculator: Splits room and dining expenses transparently among travelers with individual settlement trackers.

🎁 4. Traveler Loyalty Tiers & Daily Rewards

  • Tier Progression Engine: Earn XP on every booking to climb from Explorer (πŸ₯‰) $\rightarrow$ Voyager (πŸ₯ˆ) $\rightarrow$ Nomad (πŸ₯‡) $\rightarrow$ Legend (πŸ’Ž).
  • Daily Login Streak Rewards: Claim bonus Travel Coins daily to unlock discount vouchers ($10, $25, $50 off).
  • Exclusive Host Vouchers: Hosts can issue custom discount promo codes with usage limits and expiration triggers.

πŸ’¬ 5. Real-Time Chat & Direct Host Inquiries (Socket.io)

  • Instant Messaging: Connect with property hosts directly from listing preview cards with typing indicators and unread badges.
  • Push Notification Drawer: Live in-app notifications for bookings, payment verifications, and travel alerts.

πŸ’³ 6. Razorpay Payments & Instant Refund Engine

  • Seamless Checkout: Native Razorpay payment integration with HMAC-SHA256 signature verification.
  • Dynamic Multi-Country Currency Mapping: Automatic localization and currency conversions (USD, INR, EUR, GBP, AED, JPY, AUD, CAD, KRW, and more).
  • Guest Cancellation & Refund Processing: Transparent cancellation workflows and host refund dispatching.

πŸ›‘οΈ 7. Enterprise Security Hardening (Zero Vulnerabilities)

  • CodeQL Security Cleared (260+ closed alerts): Protected against NoSQL injections, ReDoS attacks, DOM text XSS, and rate limiting brute-forces.
  • Global & Route API Rate Limiting: Centralized express-rate-limit guards protecting against DDoS and bot automation.
  • Single-Session Enforcement: Cryptographically secure token rotation with instant logout synchronization.
  • Community Safety Checkbox: Mandatory Terms & Conditions and Community Guidelines validation on registration with quick links to /terms and /privacy.

πŸ—οΈ Architecture & Technology Stack

JourneyCusine Ecosystem
 β”œβ”€β”€ 🎨 Frontend (SPA)
 β”‚    β”œβ”€β”€ React 19 + Vite (Zero Fast-Refresh Conflicts & Canonical Deduplication)
 β”‚    β”œβ”€β”€ TailwindCSS + DaisyUI + Framer Motion (Smooth Micro-interactions)
 β”‚    β”œβ”€β”€ TanStack React Query (State Caching & Background Sync)
 β”‚    β”œβ”€β”€ Socket.io Client (Real-time Messaging & Notifications)
 β”‚    └── Leaflet Maps (Interactive Spatial Exploration)
 β”‚
 β”œβ”€β”€ βš™οΈ Backend (REST + WebSockets API)
 β”‚    β”œβ”€β”€ Node.js + Express.js (Modular Route Controllers & Error Handlers)
 β”‚    β”œβ”€β”€ Express Rate Limit (Multi-Tier Security & DoS Protection)
 β”‚    β”œβ”€β”€ Socket.io (Bi-directional Event Streaming)
 β”‚    β”œβ”€β”€ JWT (JSON Web Tokens) + Bcrypt Password Encryption
 β”‚    β”œβ”€β”€ UploadThing (High-Performance Cloud Media Pipeline)
 β”‚    └── Google Gemini AI API (Smart Trip NLP & Image Moderation)
 β”‚
 └── πŸ—„οΈ Database & Storage
      β”œβ”€β”€ MongoDB Atlas (High-Availability Cloud Cluster)
      └── Mongoose (Schema Validation & Typed ObjectIds)

⚑ Quick Start & Local Setup

1. Clone the Repository

git clone https://github.com/skmirajulislam/JourneyCusine.git
cd JourneyCusine

2. Configure Environment Variables

Backend (backend/.env):

PORT=5001
MONGODB_URI=mongodb+srv://<username>:<password>@cluster0.mongodb.net/
DB_NAME=motel-develpoment-db
DB_USER=your_mongo_user
DB_PASSWORD=your_mongo_password
ACCESS_TOKEN_SECRET=your_super_secret_jwt_access_key
REFRESH_TOKEN_SECRET=your_super_secret_jwt_refresh_key
GEMINI_API_KEY=your_gemini_ai_api_key
RAZORPAY_KEY_ID=your_razorpay_key_id
RAZORPAY_KEY_SECRET=your_razorpay_key_secret
UPLOADTHING_TOKEN=your_uploadthing_token

Frontend (frontend/.env):

VITE_BACKEND_URL=http://localhost:5001
VITE_RAZORPAY_KEY_ID=your_razorpay_key_id

3. Run Backend

cd backend
npm install
npm run dev

4. Run Frontend

cd frontend
npm install
npm run dev

Open http://localhost:3001 in your browser.


πŸ’³ Test Payment Credentials (Razorpay Sandbox)

When testing checkout, bookings, and instant refund flows in test mode, use any of the official test cards below:

Network Card Number Card Type Card Sub Type CVV & Expiry Date
Visa 4100 2800 0000 1007 Debit Consumer Use a random CVV and any future date (e.g. 12/28)
Mastercard 5555 5100 0008 1006 Credit Business Use a random CVV and any future date (e.g. 12/28)
Mastercard 5180 2872 0009 1001 Prepaid Consumer Use a random CVV and any future date (e.g. 12/28)
RuPay 6527 6589 0000 1005 Credit Consumer Use a random CVV and any future date (e.g. 12/28)
Diners 3608 280009 1007 Credit Consumer Use a random CVV and any future date (e.g. 12/28)
Amex 3402 560004 01007 Credit Consumer Use a random CVV and any future date (e.g. 12/28)

Note: For OTP verification during test payments, enter any numeric OTP (e.g., 1234 or 123456) or click Success on the Razorpay test payment interface.


πŸ§ͺ Verification & Quality Assurance

Quality Check Tool / Standard Result
Linting & Code Style ESLint 9 (Strict Config) 0 errors, 0 warnings
Security Auditing GitHub CodeQL All alerts resolved (260+ Closed)
Dependencies Safety npm audit 0 vulnerabilities (Backend & Frontend)
Production Build Vite 8 + Rollup Passed in < 2.0s

πŸ‘₯ Contributors & Core Team

A heartfelt thank you to everyone who contributed to resurrecting JourneyCusine:

  • Sk Mirajul Islam β€” Project Lead, Architecture, Security & Full-Stack Engineer
  • Susshrita Jana β€” Frontend Development & Feature Workflows
  • Soumye β€” Workflow Logic & UI Integration
  • Aishiki Mondal β€” UI/UX Design & Aesthetic Styling
  • Arnab Das β€” Quality Assurance & Testing Lead
  • Sk Sahil β€” Support Engineering & User Experience

πŸ“„ License

This project is licensed under the MIT License and Mozilla Public License 2.0.


Built with ❀️ for travelers and food lovers everywhere. © 2026 JourneyCusine.