AgroPlatform is a farm management platform with:
- Backend: .NET 8 ASP.NET Core Web API (Clean Architecture) requiring PostgreSQL + PostGIS — not run in Replit dev environment due to heavy infra requirements (Postgres/PostGIS).
- Frontend: React 18 + Vite + TypeScript + Ant Design — runs in Replit on port 5000.
- Mobile: Expo (not configured for Replit).
Start application: runscd frontend && npm run devon port 5000 (Vite dev server, host0.0.0.0,allowedHosts: trueso the Replit iframe proxy works).
- Located in
frontend/. - Vite config (
frontend/vite.config.ts) is set to host0.0.0.0, port5000, with all hosts allowed. - API requests are proxied from
/apitohttp://localhost:8080(the .NET backend, when running).
Configured as a static deployment:
- Build:
cd frontend && npm install && npm run build - Public directory:
frontend/dist
The .NET 8 backend (src/AgroPlatform.Api) requires PostgreSQL + PostGIS and is intended to run via Docker Compose locally or in production. To run it, follow the README.md and docker-compose.yml instructions in a Docker-capable environment.