RealEstate Pro is a modern web application designed to help users find their dream properties. It offers a user-friendly interface to browse property listings, view property details, and calculate potential mortgage payments.
- Splash Screen: An engaging animated entry point to the application.
- User Authentication: Secure login functionality for users.
- User Profiles: Allows users to manage their profile information.
- Property Listings: Browse a comprehensive list of available properties.
- Detailed Property View: View in-depth information for each property, including images and specifications.
- Mortgage Calculator: An integrated tool to help users estimate mortgage payments.
- Responsive Design: Adapts to various screen sizes for a seamless experience on desktop and mobile devices.
- Framework: Next.js (using the App Router)
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: Shadcn/UI (built on Radix UI)
- Animation: Framer Motion, GSAP (GreenSock Animation Platform)
- Form Handling: React Hook Form
- Schema Validation: Zod
- Icons: Lucide React
- Notifications: Sonner
- Date Utilities: date-fns
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js (v18.x or later recommended)
- pnpm (or npm/yarn)
-
Clone the repository: If you haven't already, clone the repository that contains this project.
git clone <repository-url> cd <project-directory-name>
(Replace
<repository-url>and<project-directory-name>with the actual URL and local directory name, likelymy-v0-projectorv0-real-estate-p4ff5irjlx6) -
Install dependencies: This project uses
pnpmas indicated by thepnpm-lock.yamlfile.pnpm install
If you prefer
npmoryarn, you can deletepnpm-lock.yamland run:npm install # or yarn install -
Run the development server:
pnpm dev
Or using npm:
npm run dev
Or using yarn:
yarn dev
Open http://localhost:3000 with your browser to see the result. The application will start with a splash screen and then redirect to
/home.
Here's a brief overview of the main project directories:
my-v0-project/
├── app/ # Next.js App Router: contains all routes, layouts, and pages
│ ├── home/ # Home page
│ ├── login/ # Login page
│ ├── mortgage-calculator/ # Mortgage calculator page
│ ├── profile/ # User profile page
│ ├── properties/ # Property listings page
│ ├── property/[id]/ # Individual property detail page
│ ├── layout.tsx # Root layout component
│ └── page.tsx # Root page (splash screen)
├── components/ # Reusable React components
│ └── ui/ # UI components (likely Shadcn/UI)
├── lib/ # Utility functions and shared logic
│ ├── properties.ts # Property-related utilities
│ └── utils.ts # General utilities
├── public/ # Static assets (images, fonts, etc.)
├── styles/ # Global styles (additional to app/globals.css)
├── next.config.mjs # Next.js configuration
├── package.json # Project metadata and dependencies
└── tsconfig.json # TypeScript configuration
The package.json includes the following scripts:
pnpm dev: Starts the Next.js development server.pnpm build: Builds the application for production.pnpm start: Starts the Next.js production server.pnpm lint: Runs Next.js's built-in ESLint checks.
Contributions are welcome! If you'd like to contribute, please follow these steps:
- Fork the repository (if you are an external contributor).
- Create a new branch (
git checkout -b feature/your-feature-name). - Make your changes.
- Commit your changes (
git commit -m 'feat: Add some amazing feature'). - Push to the branch (
git push origin feature/your-feature-name). - Open a Pull Request against the main branch.
The upper part of this README is automatically managed by v0.dev. The sections from "Project: RealEstate Pro" onwards provide detailed project information.