Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ozanonurtek/flask-mvvm-r
MVVM-R(Model-View-ViewModel-Router) pattern for scalable flask applications
https://github.com/ozanonurtek/flask-mvvm-r
Last synced: 5 days ago
JSON representation
MVVM-R(Model-View-ViewModel-Router) pattern for scalable flask applications
- Host: GitHub
- URL: https://github.com/ozanonurtek/flask-mvvm-r
- Owner: ozanonurtek
- License: gpl-3.0
- Created: 2018-01-11T21:16:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:50:00.000Z (about 2 years ago)
- Last Synced: 2023-03-07T14:39:19.063Z (almost 2 years ago)
- Language: HTML
- Homepage:
- Size: 45.9 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flask-mvvm-r
### MVVM-R(Model-View-ViewModel-Router) pattern for scalable flask applications
#### This project uses following flask tool-kits:
- Flask-WTF(for secure forms)
- Flask-Login(for seure sessions)
- Flask-SQLAlchemy(for db integration)
- Flask-Bootstrap(beautify)## How to run
### Requirements
- Tested with python 3.5 or upper
- pip3
- virtualenv
- your favorite, sqlalchemy supported db### Setup
- go to project directory and ``` virtualenv --python=python3 venv ``` than ```source venv/bin/activate```
- be sure that you are in virtualenvironment ```(venv)user@machine: dir ``` in terminal.
- after that ```pip install -r requirements.txt```
- finally up the gunicorn ```gunicorn --bind 127.0.0.1:5000 runserver:app```
- That's it now go to: (http://127.0.0.1:5000)
- don't forget to edit config.py