├── s01 └── __MACOSX │ ├── ._Community.mov │ ├── ._Community - Udemy.mov │ ├── ._Platform features.mov │ └── ._Welcome to this course.mov ├── README.md ├── s05 ├── __MACOSX │ ├── ._Logging - Intro.mov │ ├── ._FAST_S05-L06. Logging from our FastAPI router.mov │ ├── ._FAST_S05-L11. Creating a custom logging filter.mov │ ├── ._FAST_S05-L07 What are filters in the logging module.mov │ ├── ._FAST_S05-L08. Logging from a FastAPI exception handler.mov │ ├── ._FAST_S05-L10. Using JSON for log files with Python.mov │ ├── ._FAST_S05-L13. Sending logs to Logtail only in prod.mov │ ├── ._FAST_S05-L12. Sending logs to Logtail, a cloud logging service.mov │ └── ._FAST_S05-L09. Use correlation ID to differentiate requests in logs.mov └── resources │ └── 05_fastapi_logging_14_only_logtail_in_prod.zip ├── s04 ├── __MACOSX │ └── ._Async databases - Intro.mov └── resources │ └── 04_async_databases_09_use_database_in_router.zip ├── s02 ├── __MACOSX │ └── ._Working with FastAPI - Intro.mov └── resources │ ├── FAST-S01-02_first_fastapi_app.zip │ └── 02_working_with_fastapi_07_api_comments.zip ├── s06 ├── __MACOSX │ ├── ._User Authentication - Intro.mov │ ├── ._FAST_S06-L03. The database table for users.mov │ ├── ._FAST_S06-L05. Adding user registration tests.mov │ ├── ._FAST_S06-L10. Dependency injection in FastAPI.mov │ ├── ._FAST_S06-L08. Getting a user with their access token.mov │ ├── ._FAST_S06-L02. What are JWTs, and installing requirements.mov │ ├── ._FAST_S06-L04. Adding user registration to a FastAPI app.mov │ ├── ._FAST_S06-L06. Password hashing with passlib in FastAPI apps.mov │ ├── ._FAST_S06-L07. Generating an access token and implementing login.mov │ ├── ._FAST_S06-L09. Getting the current user in a FastAPI endpoint.mov │ └── ._FAST_S06-L11. Adding user relationships to posts and comments.mov └── resources │ ├── 06_user_authentication_11_adding_user_relationships.zip │ └── 06_user_authentication_12_oauth_password_bearer_and_swagger_auth.zip ├── s03 ├── __MACOSX │ └── ._FAST_S03-L01_ Introduction to pytest section.mov └── resources │ └── 03_pytest_intro_06_comment_tests.zip ├── s09 └── resources │ └── 09_file_uploads_99_final.zip ├── s10 └── resources │ └── 10_background_task_image_gen_99_final.zip ├── s08 └── resources │ └── 08_email_confirmation_99_how_to_send_emails.zip ├── s07 └── resources │ └── 07_likes_many_to_many_05_adding_post_sorting_enum.zip └── LICENSE /s01/__MACOSX/._Community.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Mastering-REST-APIs-with-FastAPI 2 | Mastering REST APIs with FastAPI, by Packt Publishing 3 | -------------------------------------------------------------------------------- /s01/__MACOSX/._Community - Udemy.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s01/__MACOSX/._Platform features.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s05/__MACOSX/._Logging - Intro.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s01/__MACOSX/._Welcome to this course.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s04/__MACOSX/._Async databases - Intro.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s02/__MACOSX/._Working with FastAPI - Intro.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s06/__MACOSX/._User Authentication - Intro.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s03/__MACOSX/._FAST_S03-L01_ Introduction to pytest section.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s06/__MACOSX/._FAST_S06-L03. The database table for users.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s06/__MACOSX/._FAST_S06-L05. Adding user registration tests.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s05/__MACOSX/._FAST_S05-L06. Logging from our FastAPI router.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s05/__MACOSX/._FAST_S05-L11. Creating a custom logging filter.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s06/__MACOSX/._FAST_S06-L10. Dependency injection in FastAPI.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s05/__MACOSX/._FAST_S05-L07 What are filters in the logging module.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s05/__MACOSX/._FAST_S05-L08. Logging from a FastAPI exception handler.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s05/__MACOSX/._FAST_S05-L10. Using JSON for log files with Python.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s05/__MACOSX/._FAST_S05-L13. Sending logs to Logtail only in prod.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s06/__MACOSX/._FAST_S06-L08. Getting a user with their access token.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s06/__MACOSX/._FAST_S06-L02. What are JWTs, and installing requirements.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s06/__MACOSX/._FAST_S06-L04. Adding user registration to a FastAPI app.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s06/__MACOSX/._FAST_S06-L06. Password hashing with passlib in FastAPI apps.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s05/__MACOSX/._FAST_S05-L12. Sending logs to Logtail, a cloud logging service.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s06/__MACOSX/._FAST_S06-L07. Generating an access token and implementing login.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s06/__MACOSX/._FAST_S06-L09. Getting the current user in a FastAPI endpoint.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s06/__MACOSX/._FAST_S06-L11. Adding user relationships to posts and comments.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s05/__MACOSX/._FAST_S05-L09. Use correlation ID to differentiate requests in logs.mov: -------------------------------------------------------------------------------- 1 | Mac OS X  &  -------------------------------------------------------------------------------- /s09/resources/09_file_uploads_99_final.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-REST-APIs-with-FastAPI/HEAD/s09/resources/09_file_uploads_99_final.zip -------------------------------------------------------------------------------- /s02/resources/FAST-S01-02_first_fastapi_app.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-REST-APIs-with-FastAPI/HEAD/s02/resources/FAST-S01-02_first_fastapi_app.zip -------------------------------------------------------------------------------- /s03/resources/03_pytest_intro_06_comment_tests.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-REST-APIs-with-FastAPI/HEAD/s03/resources/03_pytest_intro_06_comment_tests.zip -------------------------------------------------------------------------------- /s02/resources/02_working_with_fastapi_07_api_comments.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-REST-APIs-with-FastAPI/HEAD/s02/resources/02_working_with_fastapi_07_api_comments.zip -------------------------------------------------------------------------------- /s10/resources/10_background_task_image_gen_99_final.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-REST-APIs-with-FastAPI/HEAD/s10/resources/10_background_task_image_gen_99_final.zip -------------------------------------------------------------------------------- /s04/resources/04_async_databases_09_use_database_in_router.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-REST-APIs-with-FastAPI/HEAD/s04/resources/04_async_databases_09_use_database_in_router.zip -------------------------------------------------------------------------------- /s05/resources/05_fastapi_logging_14_only_logtail_in_prod.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-REST-APIs-with-FastAPI/HEAD/s05/resources/05_fastapi_logging_14_only_logtail_in_prod.zip -------------------------------------------------------------------------------- /s08/resources/08_email_confirmation_99_how_to_send_emails.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-REST-APIs-with-FastAPI/HEAD/s08/resources/08_email_confirmation_99_how_to_send_emails.zip -------------------------------------------------------------------------------- /s07/resources/07_likes_many_to_many_05_adding_post_sorting_enum.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-REST-APIs-with-FastAPI/HEAD/s07/resources/07_likes_many_to_many_05_adding_post_sorting_enum.zip -------------------------------------------------------------------------------- /s06/resources/06_user_authentication_11_adding_user_relationships.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-REST-APIs-with-FastAPI/HEAD/s06/resources/06_user_authentication_11_adding_user_relationships.zip -------------------------------------------------------------------------------- /s06/resources/06_user_authentication_12_oauth_password_bearer_and_swagger_auth.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Mastering-REST-APIs-with-FastAPI/HEAD/s06/resources/06_user_authentication_12_oauth_password_bearer_and_swagger_auth.zip -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Packt 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | --------------------------------------------------------------------------------