How kapulularachel-bit/agriwomenvoice_platform works
AgriWomen Voice Platform is a web app for agricultural and financial services aimed at women farmers in Malawi. The user-facing workflow is served through the website and its API, which provides market, loan, land-registration, and produce-listing operations backed by in-memory data; AI endpoints offer agricultural advice and loan evaluation through Gemini. The package description also names weather and training resources, but their implementation was not shown. The source excerpts do not establish which pages call which API endpoints, so those links are omitted.
Main entry points: server.js Express server · index.html Home page · landingPage.html Landing page · auth.html Authentication page
Components 16
Web interface
- Home page
index.html - Landing page
landingPage.html - Authentication page
auth.html - Page styling
Landingstyles.css
Platform services
- Express server
server.js - In-memory data
server.js
Farmer services
- Market prices
server.js - Loan applications
server.js - Land registration
server.js - Produce listings
server.js - Weather updates
server.js - Training resources
server.js
AI services
- Voice advisor
server.js - Credit evaluation
server.js
Other components
- Farmer or visitor
- Google Gemini
Connections 11
- Farmer or visitor → Home page: visits
- Express server → Home page: serves root
server.js - Express server → Landing page: serves static files
server.js - Express server → Authentication page: serves static files
server.js - Express server → Page styling: serves static files
server.js - Market prices → In-memory data: reads and writes
server.js - Loan applications → In-memory data: reads and writes
server.js - Land registration → In-memory data: reads and writes
server.js - Produce listings → In-memory data: reads and writes
server.js - Voice advisor → Google Gemini: requests advice
server.js - Credit evaluation → Google Gemini: requests evaluation
server.js