A stunning, professional web application showcasing 42+ Maharashtra forts with comprehensive information, interactive chatbot, and beautiful UI/UX.
- Vibrant gradient designs with Marathi cultural theme
- Animated backgrounds and smooth transitions
- Premium fort cards with hover effects
- Equal-sized hero containers with dramatic visuals
- Responsive design for all devices
- 42+ Maharashtra Forts with detailed information
- Fort details: Location, difficulty, altitude, timings, entry fees
- Historical significance and trekking routes
- Search and filter by district and difficulty
- Complete Sinhagad Fort itinerary
- Interactive AI assistant named "ΰ€¬ΰ€Ήΰ€Ώΰ€°ΰ₯ΰ€ΰ₯ ΰ€¨ΰ€Ύΰ€ΰ€" (Bahirji Naik)
- Answers questions about forts, trekking, safety tips
- Knowledge base covering major forts like Sinhagad, Raigad, Pratapgad
- Beautiful chat interface with Marathi branding
- Total forts count
- Districts covered
- Easy trek recommendations
- Average ratings
Make sure you have the following installed:
- Node.js (v16 or higher) - Download here
- npm (comes with Node.js)
- Git - Download here
git clone https://github.com/YOUR_USERNAME/MAHAFORT-GUIDE.git
cd MAHAFORT-GUIDEThe frontend works standalone with static fort data!
# Navigate to frontend directory
cd frontend
# Install dependencies (first time only)
npm install
# Start the development server
npm startThe app will open automatically at: http://localhost:3000
If you want to run both frontend and backend:
# Navigate to backend directory
cd backend
# Install dependencies (first time only)
npm install
# Start backend server
npm startBackend runs on: http://localhost:5000
# Navigate to frontend directory
cd frontend
# Install dependencies (first time only)
npm install
# Start frontend server
npm startFrontend runs on: http://localhost:3000
MAHAFORT-GUIDE/
βββ frontend/ # React frontend application
β βββ public/ # Static files
β β βββ index.html # HTML template
β βββ src/
β β βββ assets/ # Images (shivaji.jpg, bahirji.jpg, mahalogo.jpeg)
β β βββ components/ # React components
β β β βββ Navbar.jsx # Navigation bar with logo
β β β βββ FortCard.jsx # Premium fort card component
β β β βββ BahirjiChatbot.jsx # AI chatbot component
β β βββ pages/ # Page components
β β β βββ Home.jsx # Main landing page
β β β βββ SinhagadItinerary.jsx # Sinhagad fort details
β β βββ data/
β β β βββ staticForts.js # 42+ fort database
β β βββ services/ # API services
β β βββ App.js # Main app component
β βββ package.json # Frontend dependencies
β
βββ backend/ # Node.js backend (optional)
β βββ server.js # Express server
β βββ data/ # Fort data files
β βββ package.json # Backend dependencies
β
βββ README.md # This file
- React 18 - UI framework
- React Router - Navigation
- Tailwind CSS - Styling
- React Icons - Icon library
- Node.js - Runtime
- Express - Web framework
- MongoDB - Database (if configured)
- Edit Fort Data: Modify
frontend/src/data/staticForts.js - Update UI: Edit components in
frontend/src/components/ - Add Pages: Create new pages in
frontend/src/pages/ - Styling: Use Tailwind CSS classes
Edit frontend/src/data/staticForts.js:
{
_id: 'fort-id',
name: 'Fort Name',
location: { district: 'District Name' },
difficulty: 'Easy/Moderate/Hard',
description: 'Fort description...',
images: ['image-url'],
rating: 4.5,
bestTimeToVisit: 'October to March',
entryFee: 'Free',
timings: '6:00 AM - 6:00 PM',
altitude: '1000 m',
historicalSignificance: 'Historical info...'
}# Kill process on port 3000 (Windows)
netstat -ano | findstr :3000
taskkill /PID <PID> /F
# Kill process on port 3000 (Mac/Linux)
lsof -ti:3000 | xargs kill -9# Clear npm cache
npm cache clean --force
# Delete node_modules and reinstall
rm -rf node_modules package-lock.json
npm install- Make sure images are in
frontend/src/assets/folder - Check import paths are correct
- Restart development server
cd frontend
npm run buildThis creates an optimized production build in the build/ folder.
cd frontend
npm install gh-pages --save-dev
npm run deploy- Connect your GitHub repository
- Set build command:
npm run build - Set publish directory:
build - Deploy!
- β 42+ Maharashtra forts database
- β Vibrant UI with Marathi theme
- β Search and filter functionality
- β Statistics dashboard
- β Bahirji AI chatbot
- β Sinhagad complete itinerary
- β Premium fort cards
- β Responsive design
- β MahaFort logo and branding
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
frontend/src/data/staticForts.js- Main fort databasefrontend/src/components/BahirjiChatbot.jsx- Chatbot logicfrontend/src/pages/Home.jsx- Main landing pagefrontend/src/components/Navbar.jsx- Navigation bar
The Bahirji chatbot has built-in knowledge about:
- Sinhagad, Raigad, Pratapgad forts
- Trekking tips and safety
- Best time to visit
- Fort recommendations by difficulty
To add more knowledge, edit the fortKnowledge object in BahirjiChatbot.jsx.
- Primary: Orange (#ea580c), Red (#b91c1c)
- Accent: Yellow (#facc15)
- Gradients: Multi-stop vibrant gradients
- Text: White on colored backgrounds, Gray-800 on light
- Headings: Font-black, large sizes (text-5xl to text-7xl)
- Body: Font-medium to font-bold
- Marathi Text: Clear, large, with drop-shadows
For issues or questions:
- Check the troubleshooting section above
- Review the code comments
- Check browser console for errors
- Create an issue on GitHub
This project is open source and available for educational purposes.
- Chhatrapati Shivaji Maharaj - Inspiration
- Bahirji Naik - Maratha warrior and spy
- Maharashtra Tourism - Fort information
- React Community - Amazing framework
Made with β€οΈ for Maharashtra's Heritage
π° Jai Shivaji! Jai Bhavani! π©