diff --git a/.env.dev b/.env.dev deleted file mode 100644 index c7b6e94..0000000 --- a/.env.dev +++ /dev/null @@ -1,4 +0,0 @@ -POSTGRES_USER=user -POSTGRES_PASS=pass -POSTGRES_DB=api_dev -APP_SETTINGS=src.config.DevelopmentConfig \ No newline at end of file diff --git a/.env.prod b/.env.prod deleted file mode 100644 index 35f22f7..0000000 --- a/.env.prod +++ /dev/null @@ -1,4 +0,0 @@ -POSTGRES_USER=user -POSTGRES_PASS=papanata -POSTGRES_DB=api_prod -APP_SETTINGS=src.config.ProductionConfig \ No newline at end of file diff --git a/db/Dockerfile b/data/db/Dockerfile similarity index 100% rename from db/Dockerfile rename to data/db/Dockerfile diff --git a/db/create.sql b/data/db/create.sql similarity index 100% rename from db/create.sql rename to data/db/create.sql diff --git a/sample-api-users/.bandit.yml b/data/sample-api-users/.bandit.yml similarity index 100% rename from sample-api-users/.bandit.yml rename to data/sample-api-users/.bandit.yml diff --git a/sample-api-users/.coveragerc b/data/sample-api-users/.coveragerc similarity index 100% rename from sample-api-users/.coveragerc rename to data/sample-api-users/.coveragerc diff --git a/sample-api-users/.gitignore b/data/sample-api-users/.gitignore similarity index 100% rename from sample-api-users/.gitignore rename to data/sample-api-users/.gitignore diff --git a/sample-api-users/Dockerfile.prod b/data/sample-api-users/Dockerfile.prod similarity index 100% rename from sample-api-users/Dockerfile.prod rename to data/sample-api-users/Dockerfile.prod diff --git a/sample-api-users/Dockerfile.prod.dockerignore b/data/sample-api-users/Dockerfile.prod.dockerignore similarity index 100% rename from sample-api-users/Dockerfile.prod.dockerignore rename to data/sample-api-users/Dockerfile.prod.dockerignore diff --git a/sample-api-users/Dockerfile.test b/data/sample-api-users/Dockerfile.test similarity index 100% rename from sample-api-users/Dockerfile.test rename to data/sample-api-users/Dockerfile.test diff --git a/sample-api-users/Pipfile b/data/sample-api-users/Pipfile similarity index 100% rename from sample-api-users/Pipfile rename to data/sample-api-users/Pipfile diff --git a/sample-api-users/entrypoint.sh b/data/sample-api-users/entrypoint.sh similarity index 100% rename from sample-api-users/entrypoint.sh rename to data/sample-api-users/entrypoint.sh diff --git a/sample-api-users/manage.py b/data/sample-api-users/manage.py similarity index 100% rename from sample-api-users/manage.py rename to data/sample-api-users/manage.py diff --git a/sample-api-users/requirements.test.txt b/data/sample-api-users/requirements.test.txt similarity index 100% rename from sample-api-users/requirements.test.txt rename to data/sample-api-users/requirements.test.txt diff --git a/sample-api-users/requirements.txt b/data/sample-api-users/requirements.txt similarity index 100% rename from sample-api-users/requirements.txt rename to data/sample-api-users/requirements.txt diff --git a/sample-api-users/setup.cfg b/data/sample-api-users/setup.cfg similarity index 100% rename from sample-api-users/setup.cfg rename to data/sample-api-users/setup.cfg diff --git a/sample-api-users/src/.cicd/test.sh b/data/sample-api-users/src/.cicd/test.sh similarity index 100% rename from sample-api-users/src/.cicd/test.sh rename to data/sample-api-users/src/.cicd/test.sh diff --git a/sample-api-users/src/__init__.py b/data/sample-api-users/src/__init__.py similarity index 100% rename from sample-api-users/src/__init__.py rename to data/sample-api-users/src/__init__.py diff --git a/sample-api-users/src/api/__init__.py b/data/sample-api-users/src/api/__init__.py similarity index 100% rename from sample-api-users/src/api/__init__.py rename to data/sample-api-users/src/api/__init__.py diff --git a/sample-api-users/src/api/auth.py b/data/sample-api-users/src/api/auth.py similarity index 100% rename from sample-api-users/src/api/auth.py rename to data/sample-api-users/src/api/auth.py diff --git a/sample-api-users/src/api/crud.py b/data/sample-api-users/src/api/crud.py similarity index 100% rename from sample-api-users/src/api/crud.py rename to data/sample-api-users/src/api/crud.py diff --git a/sample-api-users/src/api/cruds/users.py b/data/sample-api-users/src/api/cruds/users.py similarity index 100% rename from sample-api-users/src/api/cruds/users.py rename to data/sample-api-users/src/api/cruds/users.py diff --git a/sample-api-users/src/api/cruds/zones.py b/data/sample-api-users/src/api/cruds/zones.py similarity index 100% rename from sample-api-users/src/api/cruds/zones.py rename to data/sample-api-users/src/api/cruds/zones.py diff --git a/sample-api-users/src/api/models.py b/data/sample-api-users/src/api/models.py similarity index 100% rename from sample-api-users/src/api/models.py rename to data/sample-api-users/src/api/models.py diff --git a/sample-api-users/src/api/models/__init__.py b/data/sample-api-users/src/api/models/__init__.py similarity index 100% rename from sample-api-users/src/api/models/__init__.py rename to data/sample-api-users/src/api/models/__init__.py diff --git a/sample-api-users/src/api/models/generic.py b/data/sample-api-users/src/api/models/generic.py similarity index 100% rename from sample-api-users/src/api/models/generic.py rename to data/sample-api-users/src/api/models/generic.py diff --git a/sample-api-users/src/api/models/users.py b/data/sample-api-users/src/api/models/users.py similarity index 100% rename from sample-api-users/src/api/models/users.py rename to data/sample-api-users/src/api/models/users.py diff --git a/sample-api-users/src/api/models/zones.py b/data/sample-api-users/src/api/models/zones.py similarity index 100% rename from sample-api-users/src/api/models/zones.py rename to data/sample-api-users/src/api/models/zones.py diff --git a/sample-api-users/src/api/ping.py b/data/sample-api-users/src/api/ping.py similarity index 100% rename from sample-api-users/src/api/ping.py rename to data/sample-api-users/src/api/ping.py diff --git a/sample-api-users/src/api/users.py b/data/sample-api-users/src/api/users.py similarity index 100% rename from sample-api-users/src/api/users.py rename to data/sample-api-users/src/api/users.py diff --git a/sample-api-users/src/api/zones.py b/data/sample-api-users/src/api/zones.py similarity index 100% rename from sample-api-users/src/api/zones.py rename to data/sample-api-users/src/api/zones.py diff --git a/sample-api-users/src/config.py b/data/sample-api-users/src/config.py similarity index 100% rename from sample-api-users/src/config.py rename to data/sample-api-users/src/config.py diff --git a/sample-api-users/src/tests/__init__.py b/data/sample-api-users/src/tests/__init__.py similarity index 100% rename from sample-api-users/src/tests/__init__.py rename to data/sample-api-users/src/tests/__init__.py diff --git a/sample-api-users/src/tests/conftest.py b/data/sample-api-users/src/tests/conftest.py similarity index 100% rename from sample-api-users/src/tests/conftest.py rename to data/sample-api-users/src/tests/conftest.py diff --git a/sample-api-users/src/tests/functional/__init__.py b/data/sample-api-users/src/tests/functional/__init__.py similarity index 100% rename from sample-api-users/src/tests/functional/__init__.py rename to data/sample-api-users/src/tests/functional/__init__.py diff --git a/sample-api-users/src/tests/functional/test_auth.py b/data/sample-api-users/src/tests/functional/test_auth.py similarity index 100% rename from sample-api-users/src/tests/functional/test_auth.py rename to data/sample-api-users/src/tests/functional/test_auth.py diff --git a/sample-api-users/src/tests/functional/test_ping.py b/data/sample-api-users/src/tests/functional/test_ping.py similarity index 100% rename from sample-api-users/src/tests/functional/test_ping.py rename to data/sample-api-users/src/tests/functional/test_ping.py diff --git a/sample-api-users/src/tests/functional/test_user_model.py b/data/sample-api-users/src/tests/functional/test_user_model.py similarity index 100% rename from sample-api-users/src/tests/functional/test_user_model.py rename to data/sample-api-users/src/tests/functional/test_user_model.py diff --git a/sample-api-users/src/tests/functional/test_users.py b/data/sample-api-users/src/tests/functional/test_users.py similarity index 100% rename from sample-api-users/src/tests/functional/test_users.py rename to data/sample-api-users/src/tests/functional/test_users.py diff --git a/sample-api-users/src/tests/functional/test_zones.py b/data/sample-api-users/src/tests/functional/test_zones.py similarity index 100% rename from sample-api-users/src/tests/functional/test_zones.py rename to data/sample-api-users/src/tests/functional/test_zones.py diff --git a/sample-api-users/src/tests/pytest.ini b/data/sample-api-users/src/tests/pytest.ini similarity index 100% rename from sample-api-users/src/tests/pytest.ini rename to data/sample-api-users/src/tests/pytest.ini diff --git a/sample-api-users/src/tests/unit/__init__.py b/data/sample-api-users/src/tests/unit/__init__.py similarity index 100% rename from sample-api-users/src/tests/unit/__init__.py rename to data/sample-api-users/src/tests/unit/__init__.py diff --git a/sample-api-users/src/tests/unit/test_config.py b/data/sample-api-users/src/tests/unit/test_config.py similarity index 100% rename from sample-api-users/src/tests/unit/test_config.py rename to data/sample-api-users/src/tests/unit/test_config.py diff --git a/sample-api-users/src/tests/unit/test_generic.py b/data/sample-api-users/src/tests/unit/test_generic.py similarity index 100% rename from sample-api-users/src/tests/unit/test_generic.py rename to data/sample-api-users/src/tests/unit/test_generic.py diff --git a/sample-api-users/src/tests/unit/test_users.py b/data/sample-api-users/src/tests/unit/test_users.py similarity index 100% rename from sample-api-users/src/tests/unit/test_users.py rename to data/sample-api-users/src/tests/unit/test_users.py diff --git a/sample-client-users/.dockerignore b/data/sample-client-users/.dockerignore similarity index 100% rename from sample-client-users/.dockerignore rename to data/sample-client-users/.dockerignore diff --git a/sample-client-users/Dockerfile b/data/sample-client-users/Dockerfile similarity index 100% rename from sample-client-users/Dockerfile rename to data/sample-client-users/Dockerfile diff --git a/sample-client-users/Dockerfile.test b/data/sample-client-users/Dockerfile.test similarity index 100% rename from sample-client-users/Dockerfile.test rename to data/sample-client-users/Dockerfile.test diff --git a/sample-client-users/README.md b/data/sample-client-users/README.md similarity index 100% rename from sample-client-users/README.md rename to data/sample-client-users/README.md diff --git a/sample-client-users/jest.config.js b/data/sample-client-users/jest.config.js similarity index 100% rename from sample-client-users/jest.config.js rename to data/sample-client-users/jest.config.js diff --git a/sample-client-users/nginx/default.conf b/data/sample-client-users/nginx/default.conf similarity index 100% rename from sample-client-users/nginx/default.conf rename to data/sample-client-users/nginx/default.conf diff --git a/sample-client-users/package-lock.json b/data/sample-client-users/package-lock.json similarity index 100% rename from sample-client-users/package-lock.json rename to data/sample-client-users/package-lock.json diff --git a/sample-client-users/package.json b/data/sample-client-users/package.json similarity index 100% rename from sample-client-users/package.json rename to data/sample-client-users/package.json diff --git a/sample-client-users/public/index.html b/data/sample-client-users/public/index.html similarity index 100% rename from sample-client-users/public/index.html rename to data/sample-client-users/public/index.html diff --git a/sample-client-users/public/manifest.json b/data/sample-client-users/public/manifest.json similarity index 100% rename from sample-client-users/public/manifest.json rename to data/sample-client-users/public/manifest.json diff --git a/sample-client-users/public/robots.txt b/data/sample-client-users/public/robots.txt similarity index 100% rename from sample-client-users/public/robots.txt rename to data/sample-client-users/public/robots.txt diff --git a/sample-client-users/src/Api.ts b/data/sample-client-users/src/Api.ts similarity index 100% rename from sample-client-users/src/Api.ts rename to data/sample-client-users/src/Api.ts diff --git a/sample-client-users/src/App.tsx b/data/sample-client-users/src/App.tsx similarity index 100% rename from sample-client-users/src/App.tsx rename to data/sample-client-users/src/App.tsx diff --git a/sample-client-users/src/Types.d.ts b/data/sample-client-users/src/Types.d.ts similarity index 100% rename from sample-client-users/src/Types.d.ts rename to data/sample-client-users/src/Types.d.ts diff --git a/sample-client-users/src/components/Button/Button.test.tsx b/data/sample-client-users/src/components/Button/Button.test.tsx similarity index 100% rename from sample-client-users/src/components/Button/Button.test.tsx rename to data/sample-client-users/src/components/Button/Button.test.tsx diff --git a/sample-client-users/src/components/Home/Card/Card.test.tsx b/data/sample-client-users/src/components/Home/Card/Card.test.tsx similarity index 100% rename from sample-client-users/src/components/Home/Card/Card.test.tsx rename to data/sample-client-users/src/components/Home/Card/Card.test.tsx diff --git a/sample-client-users/src/components/Home/Card/Card.tsx b/data/sample-client-users/src/components/Home/Card/Card.tsx similarity index 100% rename from sample-client-users/src/components/Home/Card/Card.tsx rename to data/sample-client-users/src/components/Home/Card/Card.tsx diff --git a/sample-client-users/src/components/Home/Home.test.tsx b/data/sample-client-users/src/components/Home/Home.test.tsx similarity index 100% rename from sample-client-users/src/components/Home/Home.test.tsx rename to data/sample-client-users/src/components/Home/Home.test.tsx diff --git a/sample-client-users/src/components/Home/Home.tsx b/data/sample-client-users/src/components/Home/Home.tsx similarity index 100% rename from sample-client-users/src/components/Home/Home.tsx rename to data/sample-client-users/src/components/Home/Home.tsx diff --git a/sample-client-users/src/components/LogIn/LogIn.tsx b/data/sample-client-users/src/components/LogIn/LogIn.tsx similarity index 100% rename from sample-client-users/src/components/LogIn/LogIn.tsx rename to data/sample-client-users/src/components/LogIn/LogIn.tsx diff --git a/sample-client-users/src/components/SignUp/SignUp.tsx b/data/sample-client-users/src/components/SignUp/SignUp.tsx similarity index 100% rename from sample-client-users/src/components/SignUp/SignUp.tsx rename to data/sample-client-users/src/components/SignUp/SignUp.tsx diff --git a/sample-client-users/src/hooks/useAuthenticateUser.test.tsx b/data/sample-client-users/src/hooks/useAuthenticateUser.test.tsx similarity index 100% rename from sample-client-users/src/hooks/useAuthenticateUser.test.tsx rename to data/sample-client-users/src/hooks/useAuthenticateUser.test.tsx diff --git a/sample-client-users/src/hooks/useAuthenticateUser.tsx b/data/sample-client-users/src/hooks/useAuthenticateUser.tsx similarity index 100% rename from sample-client-users/src/hooks/useAuthenticateUser.tsx rename to data/sample-client-users/src/hooks/useAuthenticateUser.tsx diff --git a/sample-client-users/src/hooks/useCreateUser.tsx b/data/sample-client-users/src/hooks/useCreateUser.tsx similarity index 100% rename from sample-client-users/src/hooks/useCreateUser.tsx rename to data/sample-client-users/src/hooks/useCreateUser.tsx diff --git a/sample-client-users/src/hooks/useFetchZones.tsx b/data/sample-client-users/src/hooks/useFetchZones.tsx similarity index 100% rename from sample-client-users/src/hooks/useFetchZones.tsx rename to data/sample-client-users/src/hooks/useFetchZones.tsx diff --git a/sample-client-users/src/hooks/useIsConnected.tsx b/data/sample-client-users/src/hooks/useIsConnected.tsx similarity index 100% rename from sample-client-users/src/hooks/useIsConnected.tsx rename to data/sample-client-users/src/hooks/useIsConnected.tsx diff --git a/sample-client-users/src/index.css b/data/sample-client-users/src/index.css similarity index 100% rename from sample-client-users/src/index.css rename to data/sample-client-users/src/index.css diff --git a/sample-client-users/src/index.tsx b/data/sample-client-users/src/index.tsx similarity index 100% rename from sample-client-users/src/index.tsx rename to data/sample-client-users/src/index.tsx diff --git a/sample-client-users/src/matchMedia.mock b/data/sample-client-users/src/matchMedia.mock similarity index 100% rename from sample-client-users/src/matchMedia.mock rename to data/sample-client-users/src/matchMedia.mock diff --git a/sample-client-users/src/react-app-env.d.ts b/data/sample-client-users/src/react-app-env.d.ts similarity index 100% rename from sample-client-users/src/react-app-env.d.ts rename to data/sample-client-users/src/react-app-env.d.ts diff --git a/sample-client-users/src/reportWebVitals.ts b/data/sample-client-users/src/reportWebVitals.ts similarity index 100% rename from sample-client-users/src/reportWebVitals.ts rename to data/sample-client-users/src/reportWebVitals.ts diff --git a/sample-client-users/src/setupTests.ts b/data/sample-client-users/src/setupTests.ts similarity index 100% rename from sample-client-users/src/setupTests.ts rename to data/sample-client-users/src/setupTests.ts diff --git a/sample-client-users/test.sh b/data/sample-client-users/test.sh similarity index 100% rename from sample-client-users/test.sh rename to data/sample-client-users/test.sh diff --git a/sample-client-users/tsconfig.json b/data/sample-client-users/tsconfig.json similarity index 100% rename from sample-client-users/tsconfig.json rename to data/sample-client-users/tsconfig.json