Offline Local Tourism Web Application for Isfahan Province
Isfahan History WebApp is a fully offline, client-side Progressive Web App (PWA) designed to showcase local and regional tourism across Isfahan Province, Iran. The app highlights lesser-known cities, villages, and cultural sites, emphasizing local lifestyle, traditions, and economy. It can also be converted into a standalone Android app using WebView.
- Comprehensive offline database with local JSON data
- Interactive maps using OpenStreetMap (no external services required)
- City and region guides with images, descriptions, and cultural notes
- Local tourism focus: traditional houses, local cuisine, festivals
- Favorites system for quick offline access
- Rule-based smart suggestions based on season, city, and user preferences
- Optional multilingual support (Persian and English)
- Easy offline navigation without Google Maps
- Lightweight PWA installable on mobile and desktop
- Frontend: HTML5, CSS3 (TailwindCSS), JavaScript / TypeScript, React
- Data: Static JSON, TODO: IndexedDB / LocalStorage
- Maps: OpenStreetMap tiles
- Promote local and underrepresented tourist destinations in Isfahan Province
- Provide a fully offline, self-contained tourism app
- Support local economy and culture
- Serve as a demo-ready, deployable app for events or educational purposes
- Add local businesses and handicrafts sections
- VR-based exploration of sites
- Educational versions for schools
- Versions tailored for visitors and pilgrims
License: MIT
A modern, production-ready React boilerplate with TypeScript, Tailwind CSS, ESLint, and Prettier pre-configured for optimal development experience.
- React 19.1.1: Upgraded to the latest React version with improved performance
- Tailwind CSS v4: Updated to Tailwind CSS v4 with new PostCSS architecture
- Modern React 18+ Rendering: Migrated from
ReactDOM.rendertocreateRootAPI - Enhanced Development Tools: Updated ESLint, Prettier, and TypeScript configurations
- Bun Support: Added Bun lock file for faster package management
- Pre-commit Hooks: Automatic code formatting and linting before commits
- React 19.1.1 - Latest React with concurrent features
- TypeScript 5.8.3 - Static type checking
- Tailwind CSS 4.1.11 - Utility-first CSS framework with new architecture
- Vite 4.5.14 - Fast build tool and development server
- ESLint 8.57.1 - Code linting with TypeScript support
- Prettier 3.6.2 - Code formatting with Tailwind plugin
- Pre-commit - Git hooks for code quality
This project supports multiple package managers:
- npm (default)
- Bun (lock file included for faster installs)
-
Clone the repository
git clone <repository-url> cd react-ts-tailwind-eslint-prettier
-
Install dependencies
npm install # or bun install -
Start development server
npm run dev # or bun run dev -
Open your browser Navigate to
http://localhost:5173
npm run dev- Start development servernpm run build- Build for productionnpm run serve- Preview production buildnpm run lint- Run ESLint and Prettiernpm run lint:fix- Fix ESLint issuesnpm run lint:format- Format code with Prettiernpm run type-check- Run TypeScript compiler check
This boilerplate uses the latest Tailwind CSS v4 with:
- New PostCSS architecture (
@tailwindcss/postcss) - Simplified import system (
@import 'tailwindcss') - Enhanced base layer with consistent border colors
- Automatic configuration detection
- ESLint: Configured with TypeScript, React, and accessibility rules
- Prettier: Code formatting with Tailwind class sorting
- Pre-commit: Automatic linting and formatting before commits
- TypeScript: Strict type checking configuration
├── src/
│ ├── App.tsx # Main App component
│ ├── main.tsx # Entry point with React 18+ createRoot
│ ├── index.css # Global styles with Tailwind v4
│ └── vite-env.d.ts # Vite type definitions
├── public/
├── .eslintrc.js # ESLint configuration
├── .prettierrc.js # Prettier configuration
├── postcss.config.js # PostCSS with Tailwind v4
├── tsconfig.json # TypeScript configuration
├── vite.config.ts # Vite configuration
└── package.json # Dependencies and scripts
- React 19 with improved concurrent features
- Vite for fast HMR and optimized builds
- Modern React rendering with
createRoot - Tailwind CSS v4 for smaller bundle sizes
- TypeScript for better development experience and error catching
MIT License