Overview:
The “海豹 seal” is a Django-based development platform that supports both non-separation and separation of front-end and back-end modes. It is designed to be a flexible and efficient framework for developing Django projects with RESTful and GraphQL support. The project started on March 1st, which is International Seal Day, hence the name “海豹 seal.” The author plans to continue developing and updating the project on weekends.
Features:
- MVC pattern development
- Supports RESTful and GraphQL
- Includes k8s webssh for managing pods
- Bootstrap3 and inspinia 2.7 front-end templates
- Utilizes cbv development style with drf RESTful API
- Supports MySQL and SQLite databases
- Offers features for auditing SQL statements
- Future development plans include refactoring the front-end and developing additional features
Installation:
- Deploy MySQL 5.7 or SQLite
- Modify the settings for the k8s module in the project
- Set up the SQL module by editing the
sealsql/bin/config/config.tomlfile - Generate a new
settingsfile with a newSECRET_KEY - Ensure proper timezone settings
- For additional functionalities, use the recommended
celeryextension for scheduling tasks ordramatiqfor general asynchronous tasks - For support and documentation, refer to relevant resources such as CBV Chinese documentation and GraphQL Chinese reference documentation
- For further questions or to contribute to the project, join the QQ group or reach out to the author
Summary:
The “海豹 seal” is a Django-based development platform that offers extensive features and support for building Django projects. Its support for both RESTful and GraphQL APIs, along with its flexible front-end templates, make it a versatile choice for developers. With ongoing development plans and a growing community of contributors, the project continues to evolve and improve.