Skip to content

MythoMaps is a comprehensive full-stack web application that brings India's rich mythological heritage to life.Explore sacred destinations, discover ancient stories, and embark on spiritual journeys through India's most revered temples, pilgrimage sites, and mythological landmarks.

License

Notifications You must be signed in to change notification settings

harshithammu95-coder/MythoMaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

46 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MythoMaps - India's Sacred Heritage Explorer

React Node.js MongoDB Vercel

MythoMaps is a comprehensive full-stack web application that brings India's rich mythological heritage to life. Explore sacred destinations, discover ancient stories, and embark on spiritual journeys through India's most revered temples, pilgrimage sites, and mythological landmarks.

🌟 Live Demo


✨ Key Features

πŸŽ₯ Immersive Video Experience

  • Auto-playing video hero section with sound
  • 6 curated video categories: India 360, Spiritual, Heritage, Adventure, Nature, Wildlife
  • Interactive video controls and category navigation

πŸ›οΈ Sacred Tour Management

  • Regional Sacred Tours: North, South, East, West India + International destinations
  • Featured Attractions: 25+ horizontal scrolling attraction cards with modal details
  • Detailed Itineraries: Auto-scrolling journey plans with booking integration
  • Uncover India: Interactive destination explorer with comprehensive information

πŸ” Authentication & User Management

  • Secure JWT-based authentication system
  • Role-based access control (User/Admin)
  • Personalized user accounts and booking history
  • Admin dashboard for complete tour and booking management

🎨 Modern Design System

  • Incredible India inspired color palette (Saffron, White, Green, Gold)
  • Fully responsive design optimized for all devices
  • Advanced animations and hover effects
  • Professional gallery with filtering capabilities

πŸ“± Advanced User Interface

  • Interactive search and filtering system
  • Horizontal scrolling carousels with auto-navigation
  • Modal-based detailed views
  • Toast notifications for user feedback
  • Newsletter subscription system

πŸ› οΈ Tech Stack

Frontend

Technology Purpose Version
React.js Frontend framework 18.2.0
Vite Build tool and dev server Latest
Tailwind CSS Utility-first styling 3.x
React Router DOM Client-side routing 6.21.1
Axios HTTP client 1.6.5
React Icons Icon library 5.0.0
React Toastify Notifications 9.1.3

Backend

Technology Purpose Version
Node.js Runtime environment 20.16.0
Express.js Web framework 4.18.2
MongoDB Database Atlas Cloud
Mongoose ODM 8.0.4
JWT Authentication 9.0.2
bcryptjs Password hashing 2.4.3
CORS Cross-origin requests 2.8.5

οΏ½ Project Structure

MythoMaps/
β”œβ”€β”€ frontend/                    # React.js Frontend
β”‚   β”œβ”€β”€ public/
β”‚   β”‚   β”œβ”€β”€ icon.png
β”‚   β”‚   └── logo3.png
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ assets/
β”‚   β”‚   β”‚   β”œβ”€β”€ data/           # Static data files
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ tours.js
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ attractions.js
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ itineraries.js
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ uncoverIndia.js
β”‚   β”‚   β”‚   β”‚   └── faqs.js
β”‚   β”‚   β”‚   β”œβ”€β”€ images/         # Image assets
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ Attractions/
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ itineraries/
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ uncover_india/
β”‚   β”‚   β”‚   β”‚   └── gallery/
β”‚   β”‚   β”‚   └── videos/         # Hero section videos
β”‚   β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”‚   β”œβ”€β”€ Header/
β”‚   β”‚   β”‚   β”œβ”€β”€ Footer/
β”‚   β”‚   β”‚   β”œβ”€β”€ Gallery/
β”‚   β”‚   β”‚   └── Layout/
β”‚   β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”‚   β”œβ”€β”€ Home.jsx        # Video hero + attractions
β”‚   β”‚   β”‚   β”œβ”€β”€ India.jsx       # Itineraries + uncover destinations
β”‚   β”‚   β”‚   β”œβ”€β”€ Tours.jsx       # Sacred tours listing
β”‚   β”‚   β”‚   β”œβ”€β”€ Contact.jsx     # Vibrant contact form
β”‚   β”‚   β”‚   └── About.jsx
β”‚   β”‚   β”œβ”€β”€ context/            # Authentication context
β”‚   β”‚   β”œβ”€β”€ utils/              # Configuration files
β”‚   β”‚   └── router/             # Route definitions
β”‚   β”œβ”€β”€ vercel.json             # Frontend deployment config
β”‚   └── package.json
β”‚
β”œβ”€β”€ backend/                     # Node.js Backend
β”‚   β”œβ”€β”€ controllers/            # Business logic
β”‚   β”‚   β”œβ”€β”€ authController.js
β”‚   β”‚   β”œβ”€β”€ tourController.js
β”‚   β”‚   β”œβ”€β”€ bookingController.js
β”‚   β”‚   β”œβ”€β”€ userController.js
β”‚   β”‚   └── reviewController.js
β”‚   β”œβ”€β”€ models/                 # Database schemas
β”‚   β”‚   β”œβ”€β”€ User.js
β”‚   β”‚   β”œβ”€β”€ Tour.js
β”‚   β”‚   β”œβ”€β”€ Booking.js
β”‚   β”‚   └── Review.js
β”‚   β”œβ”€β”€ routes/                 # API routes
β”‚   β”‚   β”œβ”€β”€ authRoutes.js
β”‚   β”‚   β”œβ”€β”€ tourRoutes.js
β”‚   β”‚   β”œβ”€β”€ bookingRoutes.js
β”‚   β”‚   β”œβ”€β”€ userRoutes.js
β”‚   β”‚   └── reviewRoutes.js
β”‚   β”œβ”€β”€ middleware/             # Authentication middleware
β”‚   β”œβ”€β”€ vercel.json             # Backend deployment config
β”‚   β”œβ”€β”€ .env.example            # Environment variables template
β”‚   └── index.js                # Server entry point
β”‚
└── README.md                   # Project documentation

πŸš€ Getting Started

Prerequisites

  • Node.js (v16 or higher)
  • MongoDB Atlas account
  • npm or yarn package manager

1. Clone the Repository

git clone https://github.com/harshitammu95-coder/MythoMaps.git
cd MythoMaps

2. Backend Setup

# Navigate to backend directory
cd backend

# Install dependencies
npm install

# Create environment file
cp .env.example .env

# Update .env with your configurations:
# MONGO_URL=mongodb+srv://username:password@cluster.mongodb.net/mythomaps
# JWT_SECRET=your-super-secret-jwt-key
# PORT=3050

# Start backend server
npm run dev

Backend will run on http://localhost:3050

3. Frontend Setup

# Navigate to frontend directory
cd frontend

# Install dependencies
npm install

# Start development server
npm run dev

Frontend will run on http://localhost:5174


🌐 Deployment Guide

Vercel Deployment (Recommended)

This project is configured for separate frontend and backend deployment on Vercel:

Backend Deployment:

  1. Create a new Vercel project for the backend
  2. Set environment variables in Vercel dashboard:
    • MONGO_URL
    • JWT_SECRET
    • NODE_ENV=production
  3. Deploy from the /backend directory

Frontend Deployment:

  1. Update frontend/src/utils/config.js with production backend URL
  2. Create a new Vercel project for the frontend
  3. Deploy from the /frontend directory
  4. Update CORS origins in backend with frontend URL

Local Development Setup

# Terminal 1 - Backend
cd backend && npm run dev

# Terminal 2 - Frontend  
cd frontend && npm run dev

🎯 Key Highlights

  • πŸŽ₯ Rich Media: Auto-playing videos with sound controls
  • πŸ—ΊοΈ Interactive Maps: Comprehensive destination information
  • πŸ“± Mobile First: Responsive design for all screen sizes
  • πŸ”’ Secure: JWT authentication with role-based access
  • ⚑ Fast: Optimized with Vite for lightning-fast development
  • 🎨 Beautiful: Professional UI with Indian cultural themes
  • πŸš€ Scalable: Microservices architecture ready for growth

οΏ½ Contact & Support


οΏ½ Acknowledgments

  • Google Fonts for typography
  • React Icons for comprehensive icon library
  • Tailwind CSS for utility-first styling
  • MongoDB Atlas for cloud database hosting
  • Vercel for seamless deployment
  • Incredible India campaign for design inspiration

Made with ❀️ for India's Sacred Heritage

About

MythoMaps is a comprehensive full-stack web application that brings India's rich mythological heritage to life.Explore sacred destinations, discover ancient stories, and embark on spiritual journeys through India's most revered temples, pilgrimage sites, and mythological landmarks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages