Skip to content

Latest commit

 

History

History
81 lines (66 loc) · 1.81 KB

README.md

File metadata and controls

81 lines (66 loc) · 1.81 KB

Real Estate Brochure Generator

This project is a web application for generating and storing brochure for real estate properties. It includes a front-end built with React.js and a back-end built with Flask, which interacts with the Supabase database and an LLM text generation API.

Repository

Demo Video

Screenshots

alt text

Tech Stack

  • Front-End: React.js, CSS
  • Back-End: Flask, Python
  • Database: Supabase (PostgreSQL)
  • API: Eden AI for text generation
  • Other Tools: Axios, Requests, Supabase Python Client

Installation and Setup

Prerequisites

  • Python 3.x
  • Node.js and npm
  • Supabase account
  • Eden AI API key

Backend Setup

  1. Navigate to the backend directory:
cd backend
  1. Create a virtual environment and activate it:
python -m venv venv
venv\Scripts\activate
  1. Install the required packages:
pip install -r requirements.txt
  1. Create a .env file in the backend directory and add your Supabase and Eden AI credentials:
REACT_APP_SUPABASE_URL=your_supabase_url
REACT_APP_SUPABASE_API_KEY=your_supabase_key
REACT_APP_EDEN_API_KEY=your_eden_ai_api_key
  1. Run the Flask app:
python app.py

Frontend Setup

  1. Navigate to the frontend directory:
cd frontend
  1. Install the required packages:
npm install
  1. Start React Server
npm start

Database Schema

Column Name Data Type
Positioning text
Features text
Tone varchar
Length varchar
Output text