Skip to content

itsiamdev/Medix

Repository files navigation

πŸ₯ Medix - Modern Medical Clinic Website

Medix Preview

🌐 Live Demo: https://medix-eosin.vercel.app/

Welcome to Medix! 🌟 A cutting-edge, responsive web application designed for medical clinics to showcase their services, team, and connect with patients. Built with the latest web technologies for optimal performance and user experience.

✨ Features

  • 🏠 Hero Section: Eye-catching landing page with compelling visuals and call-to-actions
  • 🩺 Services: Comprehensive display of medical services offered
  • πŸ‘₯ About Us: Detailed information about the clinic's mission and values
  • πŸ“ž Contact: Easy-to-use contact forms and information
  • πŸ‘¨β€βš•οΈ Team: Showcase of medical professionals and staff
  • πŸ” Service Details: In-depth pages for individual services
  • πŸ“± Responsive Design: Seamless experience across all devices
  • ⚑ Fast Performance: Optimized with Vite for lightning-fast loading
  • 🎨 Modern UI: Beautiful design using Tailwind CSS and shadcn/ui components

πŸš€ Tech Stack

  • βš›οΈ React 18: Latest React with hooks and modern features
  • ⚑ Vite: Next-generation frontend tooling for fast development
  • πŸ“˜ TypeScript: Type-safe development for better code quality
  • 🎨 Tailwind CSS: Utility-first CSS framework for rapid styling
  • 🧩 shadcn/ui: High-quality, accessible UI components
  • πŸ›£οΈ React Router: Client-side routing for SPA navigation
  • πŸ”„ TanStack Query: Powerful data fetching and caching
  • πŸ“ React Hook Form: Performant forms with easy validation
  • βœ… Zod: TypeScript-first schema validation
  • 🎯 Lucide React: Beautiful, consistent icons

πŸ› οΈ Installation & Setup

Prerequisites

  • πŸ“¦ Node.js (v18 or higher)
  • 🧢 npm or yarn package manager

Quick Start

  1. πŸ“₯ Clone the repository

    git clone https://github.com/yourusername/medix.git
    cd medix
  2. πŸ“¦ Install dependencies

    npm install
  3. πŸš€ Start development server

    npm run dev
  4. 🌐 Open your browser Navigate to http://localhost:8080 to see the application in action!

πŸ“œ Available Scripts

  • npm run dev - Start development server with hot reload
  • npm run build - Build for production
  • npm run build:dev - Build for development
  • npm run preview - Preview production build locally
  • npm run lint - Run ESLint for code quality checks

πŸ—οΈ Project Structure

medix/
β”œβ”€β”€ πŸ“ public/           # Static assets
β”‚   β”œβ”€β”€ πŸ–ΌοΈ clinic.png    # Clinic logo/image
β”‚   └── πŸ“„ 404.html      # 404 error page
β”œβ”€β”€ πŸ“ src/
β”‚   β”œβ”€β”€ πŸ“ components/   # Reusable UI components
β”‚   β”‚   β”œβ”€β”€ 🏠 Hero.tsx
β”‚   β”‚   β”œβ”€β”€ 🩺 Services.tsx
β”‚   β”‚   β”œβ”€β”€ πŸ‘₯ About.tsx
β”‚   β”‚   β”œβ”€β”€ πŸ“ž Contact.tsx
β”‚   β”‚   β”œβ”€β”€ 🦢 Footer.tsx
β”‚   β”‚   └── 🧭 Navbar.tsx
β”‚   β”œβ”€β”€ πŸ“ pages/        # Page components
β”‚   β”‚   β”œβ”€β”€ 🏑 Index.tsx
β”‚   β”‚   β”œβ”€β”€ πŸ” ServiceDetail.tsx
β”‚   β”‚   β”œβ”€β”€ πŸ‘¨β€βš•οΈ Team.tsx
β”‚   β”‚   └── ❌ NotFound.tsx
β”‚   β”œβ”€β”€ πŸ“ hooks/        # Custom React hooks
β”‚   β”œβ”€β”€ πŸ“ lib/          # Utility functions
β”‚   └── πŸ—οΈ App.tsx       # Main application component
β”œβ”€β”€ βš™οΈ vite.config.ts    # Vite configuration
β”œβ”€β”€ 🎨 tailwind.config.ts # Tailwind CSS configuration
└── πŸ“‹ package.json     # Project dependencies and scripts

🎯 Key Components

🏠 Hero Component

  • Stunning hero section with background image
  • Compelling headline and call-to-action buttons
  • Responsive design for all screen sizes
  • Smooth scroll navigation to sections

🩺 Services Component

  • Grid layout showcasing medical services
  • Interactive service cards with hover effects
  • Links to detailed service pages

πŸ‘₯ About Component

  • Clinic history and mission statement
  • Key values and commitment to patient care
  • Professional presentation

πŸ“ž Contact Component

  • Contact form with validation
  • Clinic address, phone, and email
  • Map integration (if applicable)

🦢 Footer Component

  • Dynamic copyright year (automatically updates)
  • Quick links with smooth scroll navigation
  • Social media links
  • Contact information

🧭 Navbar Component

  • Responsive navigation
  • Smooth scroll to sections
  • Mobile-friendly menu

πŸš€ Deployment

The application is configured for deployment to Vercel:

  1. πŸ”§ Configure deployment

    • Vercel automatically detects Vite projects
    • Connect your GitHub repository to Vercel
    • Vercel will use npm run build as the build command
  2. πŸ“€ Deploy

    • Push your code to GitHub
    • Import the repository in Vercel Dashboard
    • Deploy will happen automatically on push to main branch

🀝 Contributing

We welcome contributions! πŸŽ‰

  1. 🍴 Fork the repository
  2. 🌿 Create a feature branch (git checkout -b feature/amazing-feature)
  3. πŸ’Ύ Commit your changes (git commit -m 'Add amazing feature')
  4. πŸ“€ Push to the branch (git push origin feature/amazing-feature)
  5. πŸ”„ Open a Pull Request

πŸ“„ License

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

πŸ™ Acknowledgments

πŸ“ž Support

Need help? Reach out to our development team or open an issue on GitHub!


Made with ❀️ for better healthcare experiences

About

🩺 Medix is a modern web application designed for the healthcare space, focused on delivering a fast, intuitive, and user-friendly experience. πŸ’» The platform enables efficient management of medical information and smooth interaction between users and digital health services, all within a clean and responsive interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors