# Accra Rentals - Property Price Intelligence Platform
A modern Next.js application for rental price estimation and market analytics in Greater Accra, Ghana.
## Features
β¨ **Price Estimator** - Get accurate rental price estimates based on location and property size
π **Market Analytics** - View trends, charts, and neighborhood comparisons
πΊοΈ **Map View** - Visual property distribution (coming soon)
πΎ **Saved Searches** - Save and revisit your searches
π± **Mobile-First** - Optimized for all devices
## Tech Stack
- **Framework**: Next.js 14 (App Router)
- **Styling**: Tailwind CSS
- **Charts**: Recharts
- **Icons**: Lucide React
- **Fonts**: Crimson Pro (display) + Work Sans (body)
## Getting Started
### 1. Install Dependencies
```bash
npm install
```
### 2. Add Your Scraped Data
Replace the sample data with your actual Meqasa data:
1. Copy your `meqasa_data.json` to the `public` folder
2. Update `lib/data.ts` to load your data:
```typescript
// lib/data.ts
import rentalData from '@/public/meqasa_data.json'
export function getListings(): Listing[] {
return rentalData.listings
}
```
### 3. Run Development Server
```bash
npm run dev
```
Open
localhost
## Project Structure
```
accra-rentals/
βββ app/
β βββ layout.tsx # Root layout with fonts
β βββ page.tsx # Homepage with tabs
β βββ globals.css # Global styles
βββ components/
β βββ Navigation.tsx # Top navigation
β βββ PriceEstimator.tsx # Main estimator UI
β βββ MarketOverview.tsx # Analytics dashboard
βββ lib/
β βββ data.ts # Data utilities & estimation logic
βββ public/
βββ meqasa_data.json # Your scraped data (add this!)
```
## Customization
### Update Neighborhoods
Edit the locations list in `components/PriceEstimator.tsx`:
```typescript
const LOCATIONS = [
'East Legon',
'Cantonments',
// Add your locations...
]
```
### Adjust Price Estimation Logic
The estimation algorithm is in `lib/data.ts`:
```typescript
export f β¦