Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate
A Python3 + Flask + MongoDB ( Mongoenginemate ) boilerplate
https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate
beautifulsoup4 blueprint boilerplate docker docker-compose dotenv flask flask-blueprint flask-python jwt mongoengine pydantic pymongo python python-flask python3 rest-api validation waitress
Last synced: 15 days ago
JSON representation
A Python3 + Flask + MongoDB ( Mongoenginemate ) boilerplate
- Host: GitHub
- URL: https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate
- Owner: p32929
- License: mit
- Created: 2022-07-14T14:01:23.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-09T15:38:42.000Z (over 2 years ago)
- Last Synced: 2024-11-10T11:40:27.500Z (2 months ago)
- Topics: beautifulsoup4, blueprint, boilerplate, docker, docker-compose, dotenv, flask, flask-blueprint, flask-python, jwt, mongoengine, pydantic, pymongo, python, python-flask, python3, rest-api, validation, waitress
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A simple python_flask_blueprint_mongoenginemate_boilerplate made for us by us
The folder structure is greatly inspired by NestJS / Angular (2+) / Spring boot etc
[![](https://badgen.net/github/release/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/release/p32929/python_flask_blueprint_mongoenginemate_boilerplate/stable)]() [![](https://badgen.net/github/tag/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/watchers/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/checks/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/status/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/stars/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/forks/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/issues/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/open-issues/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/closed-issues/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/label-issues/p32929/python_flask_blueprint_mongoenginemate_boilerplate/help-wanted/open)]() [![](https://badgen.net/github/prs/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/open-prs/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/closed-prs/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/merged-prs/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/commits/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/last-commit/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/branches/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/releases/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/tags/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/license/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/contributors/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/dependents-pkg/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]()
## Share
Sharing with your friends is just one click away from here[![facebook](https://image.flaticon.com/icons/png/32/124/124010.png)](https://www.facebook.com/sharer/sharer.php?u=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[![twitter](https://image.flaticon.com/icons/png/32/124/124021.png)](https://twitter.com/intent/tweet?source=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[![tumblr](https://image.flaticon.com/icons/png/32/124/124012.png)](https://www.tumblr.com/share?v=3&u=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[![pocket](https://image.flaticon.com/icons/png/32/732/732238.png)](https://getpocket.com/save?url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[![pinterest](https://image.flaticon.com/icons/png/32/124/124039.png)](https://pinterest.com/pin/create/button/?url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[![reddit](https://image.flaticon.com/icons/png/32/2111/2111589.png)](https://www.reddit.com/submit?url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[![linkedin](https://image.flaticon.com/icons/png/32/1409/1409945.png)](https://www.linkedin.com/shareArticle?mini=true&url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[![whatsapp](https://image.flaticon.com/icons/png/32/733/733585.png)](https://api.whatsapp.com/send?text=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)## Support
If you like my works and want to support me/my works, feel free to support or donate. My payment details can be found here: https://p32929.github.io/SendMoney2Me/## How to run
Windows:
```
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
```Linux/Mac:
```
python -m venv venv
source venv\Scripts\activate
pip install -r requirements.txt
```Now run/execute the `main.py` file:
```
python main.py
```## Generate a CRUD module
```
python generator.py
```## Run tests
```
python -m pytest
```A simple python_flask_blueprint_mongoenginemate_boilerplate made for us by us
The folder structure is greatly inspired by NestJS / Angular (2+) / Spring boot etc
[![](https://badgen.net/github/release/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/release/p32929/python_flask_blueprint_mongoenginemate_boilerplate/stable)]() [![](https://badgen.net/github/tag/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/watchers/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/checks/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/status/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/stars/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/forks/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/issues/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/open-issues/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/closed-issues/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/label-issues/p32929/python_flask_blueprint_mongoenginemate_boilerplate/help-wanted/open)]() [![](https://badgen.net/github/prs/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/open-prs/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/closed-prs/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/merged-prs/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/commits/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/last-commit/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/branches/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/releases/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/tags/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/license/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/contributors/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]() [![](https://badgen.net/github/dependents-pkg/p32929/python_flask_blueprint_mongoenginemate_boilerplate)]()
## Share
Sharing with your friends is just one click away from here[![facebook](https://image.flaticon.com/icons/png/32/124/124010.png)](https://www.facebook.com/sharer/sharer.php?u=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[![twitter](https://image.flaticon.com/icons/png/32/124/124021.png)](https://twitter.com/intent/tweet?source=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[![tumblr](https://image.flaticon.com/icons/png/32/124/124012.png)](https://www.tumblr.com/share?v=3&u=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[![pocket](https://image.flaticon.com/icons/png/32/732/732238.png)](https://getpocket.com/save?url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[![pinterest](https://image.flaticon.com/icons/png/32/124/124039.png)](https://pinterest.com/pin/create/button/?url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[![reddit](https://image.flaticon.com/icons/png/32/2111/2111589.png)](https://www.reddit.com/submit?url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[![linkedin](https://image.flaticon.com/icons/png/32/1409/1409945.png)](https://www.linkedin.com/shareArticle?mini=true&url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[![whatsapp](https://image.flaticon.com/icons/png/32/733/733585.png)](https://api.whatsapp.com/send?text=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)## Support
If you like my works and want to support me/my works, feel free to support or donate. My payment details can be found here: https://p32929.github.io/SendMoney2Me/## How to run
Windows:
```
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
```Linux/Mac:
```
python -m venv venv
source venv\Scripts\activate
pip install -r requirements.txt
```Now run/execute the `main.py` file:
```
python main.py
```## Generate a CRUD module
```
python generator.py
```## Run tests
```
python -m pytest
```## Docs
1. The db queries are like https://mongoosejs.com/ but snake_cased. Example:
```
UserSchema.col().any_mongoose_function()
```2. API validations are done using: https://pypi.org/project/Flask-Pydantic-Docs/ ( For pydantic notations, see this too: https://pypi.org/project/Flask-Pydantic/ )
3. It follows the folder structure of https://nestjs.com/
# Thanks