Live Demo: laara-properties.web.app
This app provides a modern property listing interface with search and filter capabilities, built using React and Vite. It features responsive design elements powered by Ant Design (AntD) and is hosted on Firebase.
- Fast Development: Powered by Vite with React Fast Refresh.
- Modern UI: Components styled using Ant Design.
- Firebase Hosting: Seamlessly deployed for easy access.
-
Clone the Repository:
git clone https://github.com/yourusername/laara-properties-app.git cd laara-properties-app
-
Install Dependencies:
npm install
-
Start Development Server:
npm run dev
-
Build for Production:
npm run build
-
Deploy to Firebase:
firebase deploy
laara-properties-app/
├── public/ # Firebase Hosting output folder
├── src/ # React source code
│ ├── App.jsx # Main component
│ ├── components/ # UI components
│ └── assets/ # Static files like images
├── node_modules/ # Project dependencies
├── package.json # Project configuration
├── vite.config.js # Vite configuration
├── firebase.json # Firebase Hosting configuration
├── .gitignore # Git ignore configuration
└── README.md # This file
Install Ant Design and import components as needed:
npm install antd
import { Button } from 'antd';
<Button type="primary">Click Me</Button>;
-
Initialize Firebase:
firebase init
- Select Firebase Hosting.
- Use
public
as the output directory. - Configure it for a single-page app (SPA) by rewriting all routes to
index.html
.
-
Deploy:
firebase deploy
Happy coding!