Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agrinexus

Intelligent agriculture platform — Next.js frontend + Laravel API.

Folder structure

frontend/   Next.js web app (UI for Farmer, Buyer, Admin)
api/        Laravel 12 REST API (auth, marketplace, wallet, AI)
backend/    Server-side tools and utility scripts

Run frontend (port 3323)

cd frontend
npm install
npx next dev -p 3323

Set API URL in frontend/.env.local:

NEXT_PUBLIC_API_URL=http://127.0.0.1:8000/api

Run API (port 8000)

$env:PHPRC = "$env:USERPROFILE"
cd api
php artisan migrate --seed
php artisan serve --host=127.0.0.1 --port=8000

See api/README.md for endpoint docs.

Backend tools

Utility PHP scripts live in backend/tools/.

Demo accounts

Role Email Password
Farmer farmer@agrinexus.com password
Buyer buyer@agrinexus.com password
Admin admin@agrinexus.com password

Buyer starts with ₹100,000 confirmation purse balance.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages