A high-performance calculation platform designed for the Turkish market, featuring fuel cost, loan, and VAT calculators with programmatic SEO capabilities.
TR-Pratik is a modern, SEO-optimized web application that provides essential financial and travel calculation tools for Turkish users. Built with performance and scalability in mind, the platform leverages Server-Side Rendering (SSR) and programmatic routing to generate thousands of unique pages for city-to-city fuel calculations, making it highly discoverable through search engines.
The platform focuses on three core calculation tools:
Dynamic routing generates thousands of unique pages for city combinations, enabling comprehensive coverage of intercity routes across Turkey. Each route gets its own optimized page with proper meta tags, structured data, and SEO-friendly URLs.
Fast initial page loads and crawler-friendly HTML ensure excellent performance and search engine visibility. All calculation pages are pre-rendered on the server for optimal user experience.
Mobile-first design built with Tailwind CSS, featuring:
Clone the repository:
git clone https://github.com/yourusername/tr-pratik.git
cd tr-pratik
Install dependencies:
npm install
Start the development server:
npm run dev
Open your browser and navigate to http://localhost:5173
npm run build
Preview the production build:
npm run preview
tr-pratik/
āāā src/
ā āāā lib/
ā ā āāā components/ # Reusable Svelte components
ā ā āāā data/ # City data and coordinates
ā ā āāā services/ # API services (fuel prices, etc.)
ā ā āāā utils/ # Utility functions
ā āāā routes/
ā āāā hesapla/ # Calculation pages
ā āāā [slug]/ # Dynamic fuel calculation routes
ā āāā kredi/ # Loan calculator
ā āāā kdv/ # VAT calculator
āāā static/ # Static assets
āāā package.json
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.
Made with ā¤ļø for the Turkish market