
Trains of Rajbari is a comprehensive community platform designed to serve railway enthusiasts and daily commuters in the Rajbari district of Bangladesh. The platform provides real-time train schedules, station information, community updates, and a rich gallery of train photographs.
/schedules?station=rajbari)React 19.2.1 - Latest React with concurrent features
Vite 7.2.6 - Next-generation frontend tooling
Tailwind CSS 3.4.17 - Utility-first CSS framework
shadcn/ui - Re-usable component library
AnimatePresenceESLint 9.17.0 - Code linting
PostCSS 8.4.49 - CSS transformation
Autoprefixer 10.4.20 - Vendor prefix automation
One of the standout features of this project is the animated railway track that runs along the left side of the page, complete with a moving train that travels smoothly along the tracks.
Railway Track Component (RailwayTrack.jsx):
Train Animation Component (TrainAnimation.jsx):
Train Particles (TrainVibes.jsx):
Clone the repository
git clone https://github.com/faketi101/trainsofrajbari.git
cd trainsofrajbari
Install dependencies
pnpm install
Start development server
pnpm run dev
Open your browser
http://localhost:5173
pnpm run build
The optimized production build will be in the dist/ directory.
pnpm run preview
trainsofrajbari/
├── public/ # Static assets
│ ├── logo-circle.png # Logo
│ ├── sitemap.xml # SEO sitemap
│ ├── stations/ # Station images
│ └── trains/ # Train images
├── src/
│ ├── components/
│ │ ├── layout/ # Layout components
│ │ │ └── Layout.jsx # Main layout wrapper
│ │ ├── navbar.jsx # Navigation bar
│ │ ├── footer.jsx # Footer
│ │ ├── sections/ # Page sections
│ │ │ ├── Hero.jsx # Hero section
│ │ │ ├── Schedule.jsx # Train schedule
│ │ │ ├── Stations.jsx # Station cards
│ │ │ ├── TrainTypes.jsx # Train type info
│ │ │ ├── Gallery.jsx # Photo gallery
│ │ │ ├── Videos.jsx # Video section
│ │ │ └── Updates.jsx # Blog updates
│ │ └── ui/ # Reusable UI components
│ │ ├── ShareButton.jsx # Share functionality
│ │ ├── SEOHead.jsx # SEO meta tags
│ │ ├── RailwayTrack.jsx # Track animation
│ │ ├── TrainAnimation.jsx # Train movement
│ │ └── TrainVibes.jsx # Particle effects
│ ├── pages/ # Route pages
│ │ ├── Home.jsx # Homepage
│ │ ├── Schedules.jsx # Schedules page
│ │ ├── About.jsx # About page
│ │ ├── Blogs.jsx # Blog listing
│ │ ├── BlogDetails.jsx # Single blog
│ │ ├── TrainDetails.jsx # Train details
│ │ └── StationGallery.jsx # Station gallery
│ ├── data/ # Data files
│ │ ├── index.js # Data exports
│ │ ├── trainData.json # Train schedules
│ │ └── trainImages.json # Image paths
│ ├── lib/ # Utilities
│ │ └── utils.js # Helper functions
│ ├── App.jsx # Root component
│ ├── main.jsx # Entry point
│ └── index.css # Global styles
├── .gitignore
├── package.json
├── pnpm-lock.yaml
├── vite.config.js # Vite configuration
├── tailwind.config.js # Tailwind configuration
├── postcss.config.js # PostCSS configuration
├── eslint.config.js # ESLint configuration
└── README.md # This file
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Distributed under the MIT License. See LICENSE for more information.
Trains of Rajbari Community
Developer
Project Link: https://github.com/faketi101/trainsofrajbari
Made with ❤️ for the Railway Community of Rajbari
⭐ Star this repo if you find it helpful!
“"A Game-Changer for Railway Enthusiasts in Rajbari!" As a railway enthusiast, I've been searching for a reliable platform to check train schedules and connect with fellow train lovers in Rajbari. Trains of Rajbari has exceeded all my expectations! The website is beautifully designed with smooth animations and an intuitive interface. I especially love the station-specific schedule filtering and the ability to share train timings with my friends instantly. The animated railway tracks and moving train add such a delightful touch to the browsing experience. What impressed me most is how TARIKUL has built this platform with the community in mind. The emergency notification system, comprehensive station galleries, and real-time updates have made planning my daily commute so much easier. The SEO optimization means I can quickly find specific station schedules through Google, and the mobile experience is flawless. This isn't just a website—it's a complete community hub for everyone who loves trains in Rajbari district. The attention to detail, from the off-day highlighting to the train number displays, shows that TARIKUL truly understands what railway enthusiasts need. Highly recommended for anyone traveling through Rajbari, Pangsha, Kalukhali, or Pachuria stations!”

Ziaul Haque
Trains of Rajbari
Founder
Let's work together
Feel free to reach out to me for any project or collaboration. I'm always open to discussing new projects, creative ideas or opportunities to be part of your visions.