Documentation
Everything you need to know about CrowdFarming
Learn how to use the platform, integrate with our API, and understand the core concepts behind agricultural investment transparency.
Everything you need to know about CrowdFarming
Learn how to use the platform, integrate with our API, and understand the core concepts behind agricultural investment transparency.
§ 01
Get up and running with CrowdFarming in minutes.
Clone the repository and set up your local environment.
Configure your database and environment variables.
Set up your database schema and seed initial data.
Launch the development server and begin building.
# Clone the repository
git clone https://github.com/crowdfarming/crowdfarming.git
cd crowdfarming
# Install dependencies
composer install
npm install
# Setup environment
cp .env.example .env
php artisan key:generate
# Run migrations
php artisan migrate --seed
# Start development server
php artisan serve
§ 02
Understand the fundamental ideas behind CrowdFarming.
Agricultural projects are the core unit of investment. Each project has a location, timeline, budget, and milestones.
Projects are broken down into trackable milestones: land preparation, planting, irrigation, and harvest.
Investors can fund specific milestones, track progress, and receive returns based on project success.
All project data, budgets, and progress are publicly accessible to ensure trust and accountability.
§ 03
Integrate with CrowdFarming using our RESTful API.
/api/projects
List all projects
/api/projects/{id}
Get project details
/api/projects/{id}/milestones
Get project milestones
/api/investments
List investments
Use API tokens to authenticate your requests. Generate tokens from your dashboard.
API requests are rate-limited to ensure fair usage. Check response headers for current limits.
§ 04
Step-by-step guides for common tasks.
Learn how to create and configure a new agricultural project.
Set up and track project milestones from start to finish.
Understand how investments are processed and tracked.
Generate reports and analyze project performance.
§ 05
Practical examples to help you get started.
Retrieve a list of all available projects.
const response = await fetch('https://api.crowdfarming.com/api/projects', {
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN'
}
});
const projects = await response.json();
Programmatically create an investment in a project milestone.
const response = await fetch('https://api.crowdfarming.com/api/investments', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_TOKEN'
},
body: JSON.stringify({
project_id: 123,
milestone_id: 456,
amount: 10000
})
});
§ 06
Start by creating an account, then explore available projects on the map. You can invest in any milestone that interests you.
Yes! CrowdFarming is open source and available on GitHub. You can deploy your own instance or contribute to the project.
Returns are based on project success and milestone completion. Each milestone has its own risk profile and expected return.
Absolutely! All investments are tracked in real-time with full transparency. You can see project progress, milestone completion, and expected returns.