# Path: app/controllers/api.py
# def get_user():
# def get_mutual_friends():
# def get_friends_chain():
# 
# Path: app/controllers/views.py
# def never():
# def index_page():
# def mutual_friends_page():
# def friends_chain_page():


from flask import Flask
from app.controllers.api import api
from app.controllers.views import views



def create_app(celery, cache=None):
    app = Flask(__name__, static_folder='static', static_url_path='')
    app.config.from_object('config')
    
    if cache:

# Path: app/controllers/api.py
# def get_user():
# def get_mutual_friends():
# def get_friends_chain():
# 
# Path: app/controllers/views.py
# def never():
# def index_page():
# def mutual_friends_page():
# def friends_chain_page():


# Path: app/factory.py
from flask import Flask
from app.controllers.api import api
from app.controllers.views import views




def create_app(celery, cache=None):
    app = Flask(__name__, static_folder='static', static_url_path='')
    app.config.from_object('config')
    
    if cache:

        cache.init_app(app)