A Visual Studio Code extension to quickly scaffold a Flask application with necessary modules, Docker support, Swagger for API documentation, integration and unit tests.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Flask Builder is a Visual Studio Code extension designed to quickly scaffold a Flask application with the necessary modules, Docker support, and integration and unit tests.
Screenshots
Features
Flask App Structure: Automatically creates a Flask application structure with config, db, modules, and tests directories.
Main Module: Includes a main module inside the modules directory with a sample route, controller, and integration and unit tests.
Create Module: Quickly create a new module with a route, controller, and tests.
Docker Support: Generates a Dockerfile and docker-compose.yml for easy Docker setup.
.env File: Adds a default .env file for environment variables.
Testing: Includes Pytest configuration and example tests.
Swagger: Implemented Swagger for API documentation. It can be accessed at http://localhost:5000/apidocs.