A modern, responsive Progressive Web App (PWA) that provides real-time train departure information. Built with Next.js and TypeScript, deployed on Vercel.
- 🚉 Real-time train departure information
- 📱 PWA support for mobile installation
- 📍 Station search functionality
- Framework: Next.js 14
- Language: TypeScript
- Styling: SASS/SCSS
- Analytics: Vercel Analytics
- Deployment: Vercel
- PWA Support: next-pwa
- Node.js 18+
- npm/yarn/pnpm
-
Clone the repository
git clone https://github.com/julianaijal/where-is-my-train.git cd where-is-my-train
-
Install dependencies
npm install # or yarn install # or pnpm install
-
Set up environment variables
cp .env.example .env
Add your API key to the
.env
file:API_KEY=your_api_key_here
-
Start the development server
npm run dev # or yarn dev # or pnpm dev
-
Open http://localhost:3000 in your browser
Visit where-is-my-train.vercel.app to see the live application.
This app can be installed as a Progressive Web App:
- Visit the website in Chrome/Edge/Safari
- Look for the "Install" or "Add to Home Screen" option
- Follow the prompts to install the app
Contributions are welcome! Please feel free to submit a Pull Request.
- 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
This project is licensed under the MIT License - see the LICENSE file for details.