A comprehensive Frappe app for managing pets with full REST API support.
- ✅ Complete CRUD operations for pet management
- ✅ Medical records and vaccination tracking
- ✅ Adoption management
- ✅ 16 REST API endpoints with Swagger UI documentation
- ✅ Automatic CSRF token handling
- ✅ Token-based authentication
- ✅ Advanced search and filtering
Access the interactive API documentation at:
http://your-site-url/api-docs
Quick API Overview:
- 16 Total Endpoints: Full CRUD + specialized queries
- Automatic CSRF: Swagger UI handles CSRF tokens automatically
- Token Auth: Use API key + secret for authentication
See AUTHENTICATION_GUIDE.md for detailed authentication and CSRF instructions.
You can install this app using the bench CLI:
cd $PATH_TO_YOUR_BENCH
bench get-app $URL_OF_THIS_REPO --branch develop
bench install-app pet_appThis app uses pre-commit for code formatting and linting. Please install pre-commit and enable it for this repository:
cd apps/pet_app
pre-commit installPre-commit is configured to use the following tools for checking and formatting your code:
- ruff
- eslint
- prettier
- pyupgrade
This app can use GitHub Actions for CI. The following workflows are configured:
- CI: Installs this app and runs unit tests on every push to
developbranch. - Linters: Runs Frappe Semgrep Rules and pip-audit on every pull request.
mit