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.
- 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
- Python 3.x
- Node.js and npm
- Supabase account
- Eden AI API key
- Navigate to the backend directory:
cd backend
- Create a virtual environment and activate it:
python -m venv venv
venv\Scripts\activate
- Install the required packages:
pip install -r requirements.txt
- 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
- Run the Flask app:
python app.py
- Navigate to the frontend directory:
cd frontend
- Install the required packages:
npm install
- Start React Server
npm start
Column Name | Data Type |
---|---|
Positioning | text |
Features | text |
Tone | varchar |
Length | varchar |
Output | text |