Overview
Railtrack is a tool that allows users to track their train journeys with public transport in and around Switzerland. The journey data is sourced from the Swiss public transport API. Users can gain insights and statistics about their past journeys through Railtrack.
Features
- Journey Tracking: Keep track of your train journeys in Switzerland.
- Public Transport Integration: Utilizes data from the Swiss public transport API.
- Overview and Statistics: Provides users with insights and statistics about their historical journeys.
- Built With Next.js, React, RPC, Prisma, Supabase, and Tailwind.
Installation
- Clone the Railtrack repository.
- Install dependencies using a package manager like npm or yarn:
npm install - Set up local environment variables with your personal Supabase and Mapbox tokens.
- Create your own Supabase project and Mapbox account to obtain the required tokens.
- Push the schema to the database.
- Run the Railtrack app locally. If you prefer to skip setting up Google Sign Up, log in using email/password.
- Run tests locally. Ensure you have a local instance of the app running.
Summary
Railtrack is a useful tool for individuals looking to track and analyze their train journeys within Switzerland. With integration to the Swiss public transport API, users can conveniently monitor their transportation history and access valuable statistics. The tool is built with a robust tech stack including Next.js, React, RPC, Prisma, Supabase, and Tailwind, offering a seamless user experience.