Skip to content

skyfire707/9jaagentsconnect

Repository files navigation

9jaAgentsConnect πŸ‡³πŸ‡¬

Nigeria's Premier Real Estate Platform - Connect buyers, sellers, and verified agents across Lagos, Abuja, Port Harcourt, and 50+ cities.

Version License Platform

🏠 What is 9jaAgentsConnect?

9jaAgentsConnect is a full-featured real estate web application inspired by Zillow.com, specifically designed for the Nigerian market. It features:

  • Property Search: Find homes, apartments, land, and commercial properties
  • Interactive Map: View properties on a map with location markers
  • Verified Agents: Connect with trusted real estate agents
  • Advanced Filters: Filter by price, location, property type, and more
  • Mobile Responsive: Works perfectly on phones, tablets, and desktops
  • Nigeria-Focused: Naira currency, Nigerian cities, local phone formats

πŸš€ Quick Start

Option 1: Static Hosting (Free & Fast)

Deploy to Netlify in 30 seconds:

# Install Netlify CLI
npm install -g netlify-cli

# Deploy
cd 9jaagentsconnect
netlify login
netlify deploy --prod --dir=.

Option 2: Full-Stack with Backend

# Install dependencies
npm install

# Set up environment
cp .env.example .env
# Edit .env with your MongoDB URI

# Start server
npm start

πŸ“ Project Structure

9jaagentsconnect/
β”œβ”€β”€ index.html          # Main frontend (32KB)
β”œβ”€β”€ app.js             # Frontend JavaScript (18KB)
β”œβ”€β”€ api/
β”‚   └── server.js      # Express.js backend
β”œβ”€β”€ package.json       # Dependencies
β”œβ”€β”€ DEPLOYMENT.md      # Complete deployment guide
└── README.md          # This file

✨ Features

For Buyers/Renters

  • βœ… Search properties by location, price, type
  • βœ… View high-quality property images
  • βœ… See property details (bedrooms, bathrooms, area)
  • βœ… Contact agents directly
  • βœ… Save favorite properties
  • βœ… Interactive map view

For Agents

  • βœ… List properties with images
  • βœ… Manage listings dashboard
  • βœ… Receive inquiries from buyers
  • βœ… Build profile and reputation

Technical Features

  • βœ… Modern, responsive design
  • βœ… Fast loading with lazy loading images
  • βœ… Local storage for favorites
  • βœ… JWT authentication ready
  • βœ… MongoDB integration
  • βœ… RESTful API
  • βœ… Image upload support

πŸ› οΈ Built With

  • Frontend: HTML5, CSS3, Vanilla JavaScript
  • Styling: Custom CSS with CSS Variables
  • Map: Leaflet.js (OpenStreetMap)
  • Icons: Font Awesome
  • Backend: Node.js, Express.js
  • Database: MongoDB (Mongoose)
  • Auth: JWT, bcryptjs

🌍 Nigerian Cities Covered

  • Lagos (Lekki, Ikoyi, Victoria Island, Ikeja)
  • Abuja (Maitama, Wuse, Gwarinpa)
  • Port Harcourt
  • Ibadan
  • Kano
  • Enugu
  • And 40+ more cities

πŸ“± Screenshots

Screenshots will be added here after deployment

πŸš€ Deployment Options

Free Options

  • Netlify: Drag & drop deployment
  • Vercel: vercel --prod
  • GitHub Pages: Free hosting for static sites
  • Render: Free tier with auto-deploy

Paid Options (Production)

  • DigitalOcean: $5-12/month
  • AWS: Elastic Beanstalk or EC2
  • Heroku: Easy deployment
  • Railway: Modern hosting platform

See DEPLOYMENT.md for complete step-by-step instructions.

πŸ”§ Customization

Change Brand Colors

Edit CSS variables in index.html:

:root {
    --primary: #0066FF;      /* Main brand color */
    --secondary: #00C853;    /* Accent color */
    --accent: #FF6B35;       /* Call-to-action */
}

Add More Properties

Edit app.js and add to sampleProperties array.

Connect Real Backend

Update API calls in app.js:

const API_URL = 'https://api.9jaagentsconnect.com';

πŸ“Š API Endpoints

When backend is deployed:

Method Endpoint Description
GET /api/properties List all properties
GET /api/properties/:id Get single property
POST /api/properties Create property (auth)
POST /api/auth/register Register user
POST /api/auth/login Login user
GET /api/agents List agents
GET /api/stats Platform statistics

πŸ§ͺ Testing

# Test API
curl http://localhost:5000/api/health

# Test search
curl "http://localhost:5000/api/properties?city=Lagos"

# Register test user
curl -X POST http://localhost:5000/api/auth/register \
  -H "Content-Type: application/json" \
  -d '{"name":"Test","email":"test@test.com","password":"pass123","phone":"+2348012345678"}'

πŸ“ Environment Variables

Create .env file:

PORT=5000
MONGODB_URI=mongodb+srv://user:pass@cluster.mongodb.net/9jaagentsconnect
JWT_SECRET=your-secret-key
NODE_ENV=development

🀝 Contributing

  1. Fork the repository
  2. Create your 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

MIT License - feel free to use for personal or commercial projects.

πŸ™ Acknowledgments

πŸ“ž Contact

For support or inquiries:


Made with ❀️ for Nigeria πŸ‡³πŸ‡¬

Β© 2026 9jaAgentsConnect. All rights reserved.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages