Flask Nested Blueprints Example

Pubblicato il: 30 maggio 2023
sul canale di: Nick Janetakis
995
22

They're handy for adding common behavior such as authentication or grouping up related blueprints.

REFERENCE LINKS
---------------------------------------------------
► https://nickjanetakis.com/blog/flask-...

COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.

► https://nickjanetakis.com/courses/

THE TOOLS I USE / GEAR
---------------------------------------------------
► https://nickjanetakis.com/blog/the-to...

FOLLOW ME ELSEWHERE
---------------------------------------------------
► Twitter:   / nickjanetakis  
► GitHub: https://github.com/nickjj

TIMESTAMPS
---------------------------------------------------
0:00 -- Intro
0:04 -- A few nested blueprints use cases
1:36 -- We'll make a versioned API
2:18 -- Create app function
2:52 -- Defining an API v1 parent blueprint with bearer token authentication
5:08 -- Checking out the todos child blueprint of API v1
6:20 -- Registering a blueprint on another blueprint
6:53 -- Please don't use this exact auth decorator in production
7:41 -- Automated tests and referencing child blueprints with url_for
9:20 -- Going over the git diff for all of the changes


In questa pagina del sito puoi guardare il video online Flask Nested Blueprints Example della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Nick Janetakis 30 maggio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 995 volte e gli è piaciuto 22 spettatori. Buona visione!