Model-View-Controller made easy, keeping it simple.
- OAuth2 authentication plugin:
- Relational databases integration:
- PostgreSQL
- SQLite
- No relational databases integration:
- Firestore
- Fast memory access databases:
- Redis
- Memory caching
- SMTP client for sending email's;
- View's and email's templating using
Jinja2
Check all our plugins here.
$ git clone https://github.com/Raisess/mini-mvc.git
$ cd mini-mvc && ./install.py
$ mini-mvc init my-project
$ cd my-project
$ ./src/main.py
- Configuration ENV's:
DEBUG
: Enable flask debug mode;USE_SESSION
: Enable the application to store sessions data;SESSION_PERMANENT
: Indicates if the session will live forever, default:0
;SESSION_TYPE
: Select the session store type, default:filesystem
;LAZY_LOAD
: When disabled will store all views in the application memory, default:0
USE_SCHEDULER
: Enable the schedulers start (only enable this if you are using scheduled jobs);- check
.env.example
file for more variables
When you run this script your src/__core
will be update with the latest mini-mvc
version:
$ ./scripts/update.sh
$ mini-mvc gen controller|model|view|job <name>
Or
$ mini-mvc gen controller|model|view|job <namespace>/<name>
Core features are documented here.