This project is a simple real estate company portal for local testing and demonstration purposes. All data is synthetic/test only. No real or realistic personal data is generated.
- Backend: Python (Flask)
- Database: MySQL
- Frontend: HTML, CSS, JavaScript (vanilla)
- Database Seeder:
create_and_seed_db.pycreates and seeds a MySQL database (real_estate_test) with synthetic customers. - Flask API:
app.pyruns a local server and provides/search?name=...endpoint to search customers by name. - Frontend:
index.htmlprovides a search bar and displays results in a table, styled with simple CSS.
- Install Python 3 and MySQL server locally.
- Install required Python packages:
pip install flask mysql-connector-python - Run
create_and_seed_db.pyto create and seed the database:python create_and_seed_db.py - Start the Flask server:
python app.py - Open
index.htmlin your browser and use the search bar.
- All sensitive values are sanitized for testing (see code comments).
- Default dataset size: 1000 synthetic users.
- See code comments for further instructions and details.