
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Flarevel is a command-line interface (CLI) tool that quickly scaffolds Flask projects with a robust Model-View-Controller (MVC) architecture. It generates a well-organized project structure, including dedicated folders for models, views, controllers, and configurations, enabling developers to start building scalable and maintainable Flask applications in no time. Flarevel streamlines the setup process, saving you time and ensuring a clean, modular foundation for your projects.
flarevel
is a Python command-line tool that helps you quickly create a Flask project with a predefined folder structure. It generates the necessary files for a basic Flask application with SQLAlchemy support, a home page, and a user model.
To install flarevel
, you can use pip
:
pip install flarevel
To create a new Flarevel project, simply run the following command:
flarevel create <project_name>
You can install the necessary dependencies by running:
pip install -r requirements.txt
After generating the project, you can run it by executing the following command in the project directory:
python run.py
This will start the Flask development server, and you can view the project in your browser at http://localhost:5000
The migrate
command in Flarevel automates the process of handling database migrations. It uses Flask-Migrate under the hood to manage changes in the database schema.
Run the following command in your project path terminal:
flarevel forge migrate
The make:model
command allows you to easily create a new model file in your Flarevel project. It automatically generates a model with default fields (id
, created_at
, updated_at
) and a structure ready for customization.
Run the following command in your project path terminal:
flarevel forge make:model ModelName
The make:controller
command allows you to easily create a new controller file in your Flarevel project. It supports creating controllers with directories, making it easy to organize your application into submodules.
Run the following command in your project path terminal:
flarevel forge make:controller ControllerName
FAQs
Flarevel is a command-line interface (CLI) tool that quickly scaffolds Flask projects with a robust Model-View-Controller (MVC) architecture. It generates a well-organized project structure, including dedicated folders for models, views, controllers, and configurations, enabling developers to start building scalable and maintainable Flask applications in no time. Flarevel streamlines the setup process, saving you time and ensuring a clean, modular foundation for your projects.
We found that flarevel demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.