Skip to main content

A collection of tools for Falafel Framework (Flask with MVC)

Project description

What kind of food is Falafel?

Falafel is a web development framework that bundles libraries and tools, providing an elegant and satisfying web development experience. We believe that there is no need to feel pain when developing software, whether it's a "warp engine" or a web page. Falafel isn't a new independent or "alien" web Framework. It's just a web framework that provides a standard project with MVC concepts, and a collection of facilities for your web Python project.
More here: Falafel

About Fava CLI

Fava is the command-line interface (CLI) for Falafel, and the CLI provides several useful commands that can help you as you build your app.
Fava is a standalone Python package, but it was designed as a main dependency of Falafel. Its functionality depends on the base Falafel project and it isn't recommended to run just Fava without Falafel files.

Fava, our CLI provides tools to facilitate your application development. With Fava you can interact with your favorite database engine, generating migrations, models, and seeds. It is also possible to create routes, controllers and other functionality.

Fava is a good friend! :)

To view a list of all available Fava commands, you may use the list command:

fava -h

Installation

You can install the Fava with PIP package manager.

pip install falafel-fava

Usage

Fava allows you to interact with your Falafel application in a development environment.
With the CLI it is possible to create migrations, models, routes, controllers, run the development server and other features.

Check de commands:

Run the development server:

fava --server (port)

Create a new migration file:

fava --make_migration create_user

Create a new database model file:

fava --make_model user

Create a new controller file:

fava --make_controller user

Create a new Route file:

fava --make_route user

Run all migrations or only one:

fava --db_migrate (migration_name)

Generate APP Key:

fava --generate_key

You can find more documentation on the project website:
Falafel Docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

falafel-fava-0.2.3.tar.gz (9.5 kB view hashes)

Uploaded Source

Built Distribution

falafel_fava-0.2.3-py3-none-any.whl (12.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page