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: 3 months 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 (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-09T15:38:42.000Z (over 2 years ago)
- Last Synced: 2025-01-07T12:47:11.931Z (5 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
[]() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []()
## Share
Sharing with your friends is just one click away from here[](https://www.facebook.com/sharer/sharer.php?u=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[](https://twitter.com/intent/tweet?source=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[](https://www.tumblr.com/share?v=3&u=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[](https://getpocket.com/save?url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[](https://pinterest.com/pin/create/button/?url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[](https://www.reddit.com/submit?url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[](https://www.linkedin.com/shareArticle?mini=true&url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[](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
[]() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []()
## Share
Sharing with your friends is just one click away from here[](https://www.facebook.com/sharer/sharer.php?u=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[](https://twitter.com/intent/tweet?source=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[](https://www.tumblr.com/share?v=3&u=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[](https://getpocket.com/save?url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[](https://pinterest.com/pin/create/button/?url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[](https://www.reddit.com/submit?url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[](https://www.linkedin.com/shareArticle?mini=true&url=https://github.com/p32929/python_flask_blueprint_mongoenginemate_boilerplate)
[](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