Node.js Express API server for the AgriTrust Protocol, providing backend services for trust fund management, milestone verification, and dispute resolution integration.
- Trust Fund Management API: REST endpoints to create, track, and manage agricultural trust funds.
- Milestone Verification: Endpoints to process and verify milestone completion proofs.
- Dispute & Yield Integrations: Integrates dispute resolution workflows and monitors treasury yield aggregation.
- Language/Framework: Node.js / Express
- Key Dependencies:
express,cors,dotenv
Ensure you have the required toolchains installed:
- Node.js (v18 or higher recommended)
- npm (Node Package Manager)
# Clone the repository (if running manually)
git clone https://github.com/AgriTrust-Protocol/AgriTrust-Backend
# Run the guided onboarding script (checks Node.js, creates .env, installs deps, builds)
npm run onboard
# Start the application
npm startFor detailed local setup options, including running tests during onboarding or recreating .env, see Local Development Onboarding.
Contributions are highly welcome. Please ensure your commits are cryptographically signed using GPG or SSH keys. For major structural changes, please open an issue first to discuss your proposal.