/knight-frank-test

Test case for Knight Frank

Primary LanguagePython

Knight Frank Test

Test case for Knight Frank.

Description

Simple realty catalog.

Built With

  • Python 3
    • flask
    • wtforms
    • psycopg2
  • PostgreSQL

Installation

Clone, create virtual environment and install dependencies:

git clone https://github.com/dp92987/knight-frank-test.git
cd knight-frank-test
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt

Create secret.json with database credentials:

{
  "db_host": "host",
  "db_user": "user",
  "db_password": "password",
  "db_name": "name"
}

Create database schema:

python3 manage.py create_schema

Copy demo data:

python3 manage.py copy_demo_data

Run application:

python3 run.py

Schema and demo data

Database schema and demo data are stored in sql folder.

Demo

https://deltapapa.io/knight-frank-test/