https://github.com/hamidfzm/flask-boilerplate
A super simple new large scale Flask boilerplate
https://github.com/hamidfzm/flask-boilerplate
boilerplate flask python python37
Last synced: 9 months ago
JSON representation
A super simple new large scale Flask boilerplate
- Host: GitHub
- URL: https://github.com/hamidfzm/flask-boilerplate
- Owner: hamidfzm
- License: mit
- Created: 2018-10-11T20:09:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-16T09:37:18.000Z (over 7 years ago)
- Last Synced: 2025-02-23T03:28:56.816Z (about 1 year ago)
- Topics: boilerplate, flask, python, python37
- Language: Python
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flask-Boilerplate
[](https://opensource.org/licenses/MIT)
After years of web development with flask I decided to share my experience in flask applications structure.
Since I couldn't find any good boilerplate that could satisfy my needs when I start new projects.
I happily appreciate your suggestions and pull requests in order to improve this boilerplate.
## Configure
In order to setup virtual environment and dependency manager for this project run configure for first time.
```console
foo@bar:Flask-Boilerplate$ ./configure.sh
```
_Notice_ configure is using [**pipenv**](https://github.com/pypa/pipenv)
## Basic Concepts
Nothing for now
## Usage
After running configure script you can use following commands:
- Activate virtual environment
```console
foo@bar:Flask-Boilerplate$ pipenv shell
```
- Set flask app
```console
foo@bar:Flask-Boilerplate$ export FLASK_APP=application
```
- Run flask app
```console
foo@bar:Flask-Boilerplate$ flask run
```
- View flask app routes
```console
foo@bar:Flask-Boilerplate$ flask routes
```