diff --git a/README.md b/README.md deleted file mode 100644 index a6dd1750a..000000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# expert-backend -Backend API to interface with react flow frontend diff --git a/backend/.gitignore b/backend/.gitignore new file mode 100644 index 000000000..314d77847 --- /dev/null +++ b/backend/.gitignore @@ -0,0 +1,130 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class +notebooks + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +pip-wheel-metadata/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +.python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ diff --git a/Dockerfile b/backend/Dockerfile similarity index 100% rename from Dockerfile rename to backend/Dockerfile diff --git a/build_and_push b/backend/build_and_push similarity index 100% rename from build_and_push rename to backend/build_and_push diff --git a/poetry.lock b/backend/poetry.lock similarity index 100% rename from poetry.lock rename to backend/poetry.lock diff --git a/pyproject.toml b/backend/pyproject.toml similarity index 100% rename from pyproject.toml rename to backend/pyproject.toml diff --git a/src/app.py b/backend/src/app.py similarity index 100% rename from src/app.py rename to backend/src/app.py diff --git a/src/endpoints.py b/backend/src/endpoints.py similarity index 100% rename from src/endpoints.py rename to backend/src/endpoints.py diff --git a/src/list_endpoints.py b/backend/src/list_endpoints.py similarity index 100% rename from src/list_endpoints.py rename to backend/src/list_endpoints.py diff --git a/src/payload.py b/backend/src/payload.py similarity index 100% rename from src/payload.py rename to backend/src/payload.py diff --git a/src/signature.py b/backend/src/signature.py similarity index 100% rename from src/signature.py rename to backend/src/signature.py diff --git a/src/util.py b/backend/src/util.py similarity index 100% rename from src/util.py rename to backend/src/util.py diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..e69de29bb