Zemfrog is a simple framework based on flask for building a REST API quickly.
Project description
zemfrog
Zemfrog is a simple framework based on flask for building a REST API quickly. Which focuses on building a customizable, flexible and manageable REST API!
Motivation
Since 2019 I have studied backend development. And I know exactly, development on the backend is very difficult and complex. For example when a user requests a password reset, the user has to wait for the process on the backend to finish to send an email. That’s because the process isn’t asynchronous. And also we have to test the REST API with tools like Postman, Insomnia, etc. If we use that tool it will take a long time, because we have to set up endpoints, etc.
Zemfrog came up with simplifying this behavior by adding background jobs with celery and also integrating with swagger-ui using flask-apispec to test the REST API. This project is heavily inspired by FastAPI and Django Framework.
Why zemfrog?
Zemfrog is equipped with advanced features including:
Solid application structure.
Automatically generate REST API.
Built-in JWT authentication.
RBAC support.
Automatically generate API documentation (swagger-ui).
Background jobs support.
Database migration based on application environment.
And much more…
Donate & Support
Keep in mind that donations are very important to me, because currently I am working alone to develop this project. It takes a lot of time and energy. If this project is useful, please give me any support. I really appreciate it.
You can donate to me via:
Links
Homepage: https://github.com/zemfrog/zemfrog
Documentation: https://zemfrog.readthedocs.io
License: MIT
Credits
History
1.0.0 (2020-09-03)
First release on PyPI.
1.0.1 (2020-09-07)
Automation create (CRUD) API
Update template API
Update zemfrog release information.
1.0.2 (2020-09-08)
Update API structure
1.0.3 (2020-09-08)
re-upload
1.0.4 (2020-09-09)
fix manifest file
1.0.5 (2020-09-10)
add command boilerplate
add schema command
1.0.6 (2020-09-15)
add jwt authentication
refactor blueprint boilerplate
add send async email
fix celery
1.0.7 (2020-09-19)
Fix: #8
flask-apispec integration.
improve authentication.
add default schema models.
Fix: rest api boilerplate
IMPROVE: Added a prompt if a schema model exists.
IMPROVE: add zemfrgo to requirements
DOC: add README to project boilerplate
1.0.8 (2020-10-03)
1.0.9 (2020-10-05)
1.2.0 (2020-10-19)
NEW: add load urls
NEW: add load middlewares
NEW: middleware boilerplate.
NEW: multiple apps support
Fix minor bugs
1.2.1 (2020-10-27)
New Feature: added prompt to manage the app.
moved mail dir to templates/emails
add api_doc & authenticate decorator.
NEW: add swagger oauth2.
NEW: add first_name & last_name column.
IMPROVE: Support creating REST API descriptions via function documents.
Refactor Code: Rename and add field validation.
Code Change: update REST API structure.
1.2.2 (2020-10-28)
Refactor generator
New Feature: add error handler
1.2.3 (2020-11-13)
Adding: current_db local proxy
rename services directory to tasks
1.2.4 (2020-11-14)
support multiple static files
Add an endpoint to validate the password reset token
fix #37
1.2.5 (2020-11-18)
NEW: add extension, model, task generator
Refactor Code: add model mixin
add command user, role & permission
FIX: auth logs
New Feature: supports role-based access control
1.2.6 (2020-11-21)
IMPROVE: commands to manage nested applications
Added endpoint for checking token jwt
Add an endpoint to retrieve one data from the model
Add schema to limit results
Added a handler for handling API errors
1.2.7 (2020-11-24)
FIX: user checks in the test token endpoint
NEW: support for creating your own app loader
FIX: Make user roles optional
FIX: #49
2.0.1 (2020-12-20)
Refactoring app loaders
IMPROVE: REST API, models & validators
IMPROVE: added template checks
IMPROVE: add password validator
IMPROVE: Compatible with frontend nuxtjs
NEW: add flask-cors extension
2.0.2 (2020-12-20)
fix: missing flask-cors dependency
2.0.3 (2020-12-20)
IMPROVE: clean up dependencies
3.0.1 (2020-12-20)
add command secretkey
Fix: varchar length
Added db migration based on environment
Stable release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for zemfrog-3.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fce54cf5ff204944fcea76eff2f2934b463dfe781e2b3a48dcf05ee6d347d620 |
|
MD5 | 5378c1be214fd08b1f753dd6b67ccad5 |
|
BLAKE2b-256 | a7c6ca4a8c8d6731ba071594328d301a3e7751045c7ce96657371f63c0412c3f |