├── .circleci └── config.yml ├── .dockerignore ├── .env.sample ├── .gitignore ├── .travis.yml ├── Dockerfile ├── LICENSE ├── Procfile ├── README.rst ├── app ├── __init__.py ├── api │ ├── __init__.py │ └── api_v1 │ │ ├── __init__.py │ │ ├── api.py │ │ └── endpoints │ │ ├── __init__.py │ │ ├── article.py │ │ ├── authenticaion.py │ │ ├── comment.py │ │ ├── profile.py │ │ ├── tag.py │ │ └── user.py ├── core │ ├── __init__.py │ ├── config.py │ ├── errors.py │ ├── jwt.py │ ├── security.py │ └── utils.py ├── crud │ ├── __init__.py │ ├── article.py │ ├── comment.py │ ├── profile.py │ ├── shortcuts.py │ ├── tag.py │ └── user.py ├── db │ ├── __init__.py │ ├── mongodb.py │ └── mongodb_utils.py ├── main.py └── models │ ├── __init__.py │ ├── article.py │ ├── comment.py │ ├── dbmodel.py │ ├── profile.py │ ├── rwmodel.py │ ├── tag.py │ ├── token.py │ └── user.py ├── docker-compose.yml ├── logo.png ├── poetry.lock ├── postman_tests ├── Conduit.postman_collection.json └── run-api-tests.sh ├── pyproject.toml ├── runtime.txt ├── start_server.py └── tests ├── __init__.py ├── api ├── __init__.py └── api_v1 │ ├── __init__.py │ └── test_update_current_user.py ├── conftest.py └── test_main.py /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/.env.sample -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/.travis.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/LICENSE -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/Procfile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/README.rst -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/api/api_v1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/api/api_v1/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/api/api_v1/api.py -------------------------------------------------------------------------------- /app/api/api_v1/endpoints/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/api/api_v1/endpoints/article.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/api/api_v1/endpoints/article.py -------------------------------------------------------------------------------- /app/api/api_v1/endpoints/authenticaion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/api/api_v1/endpoints/authenticaion.py -------------------------------------------------------------------------------- /app/api/api_v1/endpoints/comment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/api/api_v1/endpoints/comment.py -------------------------------------------------------------------------------- /app/api/api_v1/endpoints/profile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/api/api_v1/endpoints/profile.py -------------------------------------------------------------------------------- /app/api/api_v1/endpoints/tag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/api/api_v1/endpoints/tag.py -------------------------------------------------------------------------------- /app/api/api_v1/endpoints/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/api/api_v1/endpoints/user.py -------------------------------------------------------------------------------- /app/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/core/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/core/config.py -------------------------------------------------------------------------------- /app/core/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/core/errors.py -------------------------------------------------------------------------------- /app/core/jwt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/core/jwt.py -------------------------------------------------------------------------------- /app/core/security.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/core/security.py -------------------------------------------------------------------------------- /app/core/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/core/utils.py -------------------------------------------------------------------------------- /app/crud/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/crud/article.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/crud/article.py -------------------------------------------------------------------------------- /app/crud/comment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/crud/comment.py -------------------------------------------------------------------------------- /app/crud/profile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/crud/profile.py -------------------------------------------------------------------------------- /app/crud/shortcuts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/crud/shortcuts.py -------------------------------------------------------------------------------- /app/crud/tag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/crud/tag.py -------------------------------------------------------------------------------- /app/crud/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/crud/user.py -------------------------------------------------------------------------------- /app/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/db/mongodb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/db/mongodb.py -------------------------------------------------------------------------------- /app/db/mongodb_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/db/mongodb_utils.py -------------------------------------------------------------------------------- /app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/main.py -------------------------------------------------------------------------------- /app/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/article.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/models/article.py -------------------------------------------------------------------------------- /app/models/comment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/models/comment.py -------------------------------------------------------------------------------- /app/models/dbmodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/models/dbmodel.py -------------------------------------------------------------------------------- /app/models/profile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/models/profile.py -------------------------------------------------------------------------------- /app/models/rwmodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/models/rwmodel.py -------------------------------------------------------------------------------- /app/models/tag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/models/tag.py -------------------------------------------------------------------------------- /app/models/token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/models/token.py -------------------------------------------------------------------------------- /app/models/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/app/models/user.py -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/logo.png -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/poetry.lock -------------------------------------------------------------------------------- /postman_tests/Conduit.postman_collection.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/postman_tests/Conduit.postman_collection.json -------------------------------------------------------------------------------- /postman_tests/run-api-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/postman_tests/run-api-tests.sh -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/pyproject.toml -------------------------------------------------------------------------------- /runtime.txt: -------------------------------------------------------------------------------- 1 | python-3.7.1 -------------------------------------------------------------------------------- /start_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/start_server.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/api/api_v1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/api/api_v1/test_update_current_user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/tests/api/api_v1/test_update_current_user.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markqiu/fastapi-mongodb-realworld-example-app/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_main.py: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------