A mobile-first React Native application that generates scannable QR codes for train tickets and information. The QR code can be scanned by any mobile device and opens a PDF with ticket/railway details.
- 📱 QR Code Generator – Create QR codes for train tickets.
- 📄 PDF Access – Scanned QR codes open a downloadable/printable PDF.
- ⚡ React Native Frontend – Smooth and responsive UI.
- 🔑 Easy Sharing – QR codes can be shared or printed.
- 🚀 Cross-platform – Works on both Android and iOS.
- React Native (frontend)
- Expo (development/build)
- QRCode Generator library
- PDF rendering for tickets
Clone the repository:
git clone https://github.com/Amishmathur1/railtrack-insight.git cd railtrack-insight
Install dependencies:
npm install
Start the development server:
npm start
Run on Android/iOS:
npm run android npm run ios
Usage
Open the app on your mobile.
Enter ticket/railway information.
Generate a QR code.
Scan the QR code using any mobile device.
The scanned code opens the PDF with ticket details.
Project Structure
railtrack-insight/ │── src/ │ ├── components/ # Reusable UI components │ ├── screens/ # App screens │ ├── utils/ # QR/PDF utilities │── assets/ # Images, icons, etc. │── App.js # Main entry point │── package.json │── README.md
Future Improvements
✅ Backend integration for live railway ticketing
✅ Secure login & authentication
✅ Cloud-based PDF storage
✅ Analytics dashboard for usage tracking
Contributing
Contributions are welcome! Fork the repo and create a pull request with improvements. License
This project is licensed under the MIT License.
Want me to also make you a short GitHub repo description + tags (the one that shows under your repo name on GitHub)?