This directory contains the backend code for the Virtual-Realtor project, a real estate platform designed to streamline the property search process. Utilizing asyncio
and Tornado
, the backend serves real-time data to the frontend, allowing users to filter and find properties according to their preferences.
- Python 3.6+
- pip
- Create a virtual environment:
python3 -m venv venv
- Activate the virtual environment:
On MacOS/Linux/*NIX:
source ./venv/bin/activate
On Windows (Powershell):
./venv/Scripts/Activate.ps1
- Install dependencies:
pip install -r requirements.txt
- Running the Server
Execute the following command to start the backend server:
python -m backend
The server will start listening on http://localhost:8888. Ensure the frontend is configured to communicate with this endpoint. Dependencies asyncpg==0.28.0: An asynchronous PostgreSQL client library. tornado==6.3.2: A Python web framework and asynchronous networking library.