├── .gitignore ├── README.md ├── diagram.png ├── docker-compose.yml ├── docs.png ├── gateway ├── .env ├── Dockerfile ├── __init__.py ├── auth.py ├── conf.py ├── core.py ├── datastructures │ ├── orders.py │ └── users.py ├── exceptions.py ├── main.py ├── network.py ├── post_processing.py └── requirements.txt ├── orders ├── .env ├── Dockerfile ├── __init__.py ├── init_db.py ├── main.py ├── models.py └── requirements.txt └── users ├── .env ├── Dockerfile ├── __init__.py ├── auth.py ├── datastructures.py ├── fake ├── __init__.py ├── db.py └── users.json ├── main.py ├── requirements.txt └── tests ├── __init__.py ├── auth.py └── fake_db.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/README.md -------------------------------------------------------------------------------- /diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/diagram.png -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/docs.png -------------------------------------------------------------------------------- /gateway/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/gateway/.env -------------------------------------------------------------------------------- /gateway/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/gateway/Dockerfile -------------------------------------------------------------------------------- /gateway/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gateway/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/gateway/auth.py -------------------------------------------------------------------------------- /gateway/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/gateway/conf.py -------------------------------------------------------------------------------- /gateway/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/gateway/core.py -------------------------------------------------------------------------------- /gateway/datastructures/orders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/gateway/datastructures/orders.py -------------------------------------------------------------------------------- /gateway/datastructures/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/gateway/datastructures/users.py -------------------------------------------------------------------------------- /gateway/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/gateway/exceptions.py -------------------------------------------------------------------------------- /gateway/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/gateway/main.py -------------------------------------------------------------------------------- /gateway/network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/gateway/network.py -------------------------------------------------------------------------------- /gateway/post_processing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/gateway/post_processing.py -------------------------------------------------------------------------------- /gateway/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/gateway/requirements.txt -------------------------------------------------------------------------------- /orders/.env: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /orders/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/orders/Dockerfile -------------------------------------------------------------------------------- /orders/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /orders/init_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/orders/init_db.py -------------------------------------------------------------------------------- /orders/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/orders/main.py -------------------------------------------------------------------------------- /orders/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/orders/models.py -------------------------------------------------------------------------------- /orders/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/orders/requirements.txt -------------------------------------------------------------------------------- /users/.env: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /users/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/users/Dockerfile -------------------------------------------------------------------------------- /users/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /users/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/users/auth.py -------------------------------------------------------------------------------- /users/datastructures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/users/datastructures.py -------------------------------------------------------------------------------- /users/fake/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /users/fake/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/users/fake/db.py -------------------------------------------------------------------------------- /users/fake/users.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/users/fake/users.json -------------------------------------------------------------------------------- /users/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/users/main.py -------------------------------------------------------------------------------- /users/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/users/requirements.txt -------------------------------------------------------------------------------- /users/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /users/tests/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/users/tests/auth.py -------------------------------------------------------------------------------- /users/tests/fake_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baranbartu/microservices-with-fastapi/HEAD/users/tests/fake_db.py --------------------------------------------------------------------------------