Open sekgobela-kevin opened 10 months ago
The whole site can be designed to be as part of a blueprint which can be registered with an app. Instead of our app being accessible though domain it can be accesed as something like example.com/natrec. Using blueprints is optional but can make it easier to showcase presentatic on another web app.
Flask routes in the application are associated with the app directly which can make it hard to assocate application with other apps. The routes being on the app will force natrec to run as individual website on its own domain. Blueprints make are life saver as they allow to group flask routes which can then be registered to app.
Here is example of using blueprints