CountryApp Tailwind Templates

Countryapp

A modern web application for discovering countries around the world with search capabilities, continental filtering, and displaying complete information for each country๐ŸŒ

๐ŸŒ CountryApp - Modern Country Explorer

A cutting-edge web application built with the latest React technologies to explore countries worldwide. This project showcases modern web development practices and powerful features for an exceptional user experience.

CountryApp Preview

๐Ÿ› ๏ธ Tech Stack

Core Technologies

  • โš›๏ธ React 19 - Latest version with enhanced features
  • ๐Ÿ›ฃ๏ธ React Router v7 - For seamless client-side routing
  • ๐Ÿ“ฑ TypeScript - For type-safe development
  • ๐ŸŽจ TailwindCSS - Utility-first CSS framework
  • ๐Ÿ”„ SWR - For efficient data fetching and caching

Development Tools

  • โšก Vite - Next-generation frontend tooling
  • ๐ŸŽฏ TypeScript - Static type checking
  • ๐ŸŽจ PostCSS - CSS processing
  • ๐Ÿ”ง Autoprefixer - CSS compatibility
  • ๐Ÿ“ฆ React Icons - Comprehensive icon library

โœจ Key Features

  • ๐Ÿ” Advanced country search functionality
  • ๐ŸŒŽ Continental filtering system
  • ๐ŸŽญ Dynamic theme switching (Dark/Light mode)
  • ๐Ÿ“ฑ Fully responsive design
  • โšก Lightning-fast performance
  • ๐Ÿ”„ Real-time data updates
  • ๐ŸŒ SEO optimized

๐Ÿš€ Quick Start

Prerequisites

  • Node.js (v18 or higher)
  • npm/yarn/pnpm

Installation

  1. Clone the repository:
    git clone https://github.com/PouyaBirvand/CountryApp.git
    

๐Ÿ“œ Available Scripts

  • npm run dev - Start development server
  • npm run build - Create production build
  • npm start - Serve production build
  • npm run typecheck - Run type checking
  • npm run format - Format code with Prettier

๐Ÿ—๏ธ Project Structure

app/
โ”œโ”€โ”€ routes/
โ”‚   โ”œโ”€โ”€ about.tsx
โ”‚   โ”œโ”€โ”€ countries.tsx
โ”‚   โ”œโ”€โ”€ country.tsx
โ”‚   โ”œโ”€โ”€ home.tsx
โ”‚   โ””โ”€โ”€ components/
โ”‚       โ””โ”€โ”€ navbar.tsx
โ”œโ”€โ”€ app.css
โ”œโ”€โ”€ root.tsx
โ””โ”€โ”€ routes.ts

๐Ÿ“ฑ Responsive Design

  • Mobile-first approach
  • Breakpoints for all device sizes
  • Optimized layouts for different screen sizes

โšก Performance Optimizations

  • Code splitting with React Router
  • SWR for efficient data caching
  • Lazy loading of images
  • Optimized bundle size

๐Ÿ”’ Security

  • Type-safe development with TypeScript
  • Secure API calls
  • XSS protection
  • CORS handling

๐Ÿค Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes (git commit -m 'Add AmazingFeature')
  4. Push to branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“ˆ Future Enhancements

  • Advanced filtering options
  • Country comparison feature
  • Interactive maps integration
  • Offline support
  • Multi-language support

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ‘จโ€๐Ÿ’ป Author

Pouya Birvand

๐Ÿ™ Acknowledgments


โญ Star this repository if you find it helpful!

๐Ÿ“ For detailed documentation and API references, check out our Wiki.

Top categories

Loading Svelte Themes