Photo by İsmail Enes Ayhan on Unsplash
Flask Server
creating flask server file distribution structure.
Now I am gonna create a flask file distribution structure that helps us understand flask much better and is easy to maintain. The reference of the file structure is taken from my own GitHub repository Link. The file structure will look something like this:
.
├── README.md
├── blueprints
│ └── index
│ ├── __init__.py
│ └── views.py
├── extensions
│ ├── server
│ │ ├── __init__.py
│ │ └── server.py
│ └── urls
│ ├── __init__.py
│ └── urls.py
├── main.py
└── requirements.txt