Skip to content

Repository files navigation

AgriTrust-Backend

Node.js Express API server for the AgriTrust Protocol, providing backend services for trust fund management, milestone verification, and dispute resolution integration.

🚀 Key Features

  • 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.

🛠️ Tech Stack

  • Language/Framework: Node.js / Express
  • Key Dependencies: express, cors, dotenv

📦 Getting Started

Prerequisites

Ensure you have the required toolchains installed:

  • Node.js (v18 or higher recommended)
  • npm (Node Package Manager)

Installation & Local Setup

# 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 start

For detailed local setup options, including running tests during onboarding or recreating .env, see Local Development Onboarding.

🤝 Contributing

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages