from typing import Dict
import json


def get_fake_data(data_name: str) -> Dict:
    """
    When front-end wanting some data, but haven't been offered by database ,
    use some fake data for front-end to test UI

    :param data_name: the fake data's name
    :return: a dict of fake data
    """
    with open("./fake_data/%s.json" % data_name, encoding='utf-8') as f:
        data = json.load(f)
    return data