Skip to content

SparshM8/AllTrip

 
 

Repository files navigation

AllTrip: Travel Agency Platform

AllTrip is a modern travel agency application designed to provide a seamless and engaging user experience. Built with Next.js and Tailwind CSS, it offers a robust platform for showcasing travel destinations, itineraries, and packages.

Technical Stack

  • Framework: Next.js
  • Language: TypeScript
  • Styling: Tailwind CSS, PostCSS
  • UI Components: Shadcn/ui, Radix UI
  • State & Logic: React hooks, react-hook-form for forms, zod for validation
  • UI/UX Enhancements: lenis for smooth scrolling, framer-motion for animations, recharts for data visualization, lottie-react for Lottie animations
  • Performance & SEO: @vercel/analytics, @vercel/speed-insights, custom service worker, and dynamic SEO functions

Getting Started

Follow these steps to set up the project locally.

Prerequisites

  • Node.js (version 18 or newer)
  • npm or Yarn

Installation

  1. Clone the repository:
    git clone [your-repository-url]
  2. Navigate to the project directory:
    cd alltrip
  3. Install dependencies:
    npm install
    # or
    yarn install

Running the Development Server

Start the development server with:

npm run dev
# or
yarn dev


Open your browser and visit http://localhost:3000 to see the application.

Quick Preview & Accessibility Checks

After the dev server is running, open the site at http://localhost:3000 and perform a quick accessibility and performance check:

  1. Open Chrome DevTools (F12) → Lighthouse. Run audits for Mobile and Desktop to get Performance, Accessibility, Best Practices, and SEO scores.
  2. Keyboard test: press Tab to navigate through interactive elements. Use the skip link (press Tab from top) to jump to main content.
  3. Reduced motion: toggle OS-level prefers-reduced-motion to verify Lottie and motion-reduced fallbacks are respected.

Recommended commands:

cd 'd:\New folder\AllTripp\AllTrip'
npm install
npm run dev

# Then open http://localhost:3000 in Chrome and run Lighthouse

Contribution We welcome contributions! Feel free to open an issue or submit a pull request.

License This project is open-sourced under the MIT License.

About

This is a NEW repo of the ALLTRIPP

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages