Kropigo is a modern agricultural marketplace monorepo designed to connect farmers (Kisan) directly with buyers. It streamlines the process of listing produce, managing orders, and facilitating transparent agricultural trade.
This is a pnpm monorepo with the following packages:
apps/web: Next.js 15+ frontend application (Redux Toolkit, RTK Query, Tailwind CSS).apps/server: Node.js/Express backend API (Mongoose, JWT Auth, Zod Validation).packages/schemas: Shared TypeScript types and Zod schemas used across both frontend and backend.
-
Clone the repository:
git clone <your-repository-url> cd Kropigo-3
-
Install dependencies:
pnpm install
-
Set up environment variables:
- Create
.envfiles inapps/webandapps/serverbased on the provided patterns.
- Create
Run both the frontend and backend in development mode:
Frontend:
cd apps/web
pnpm devBackend:
cd apps/server
pnpm dev- Frontend: Next.js, React, Redux Toolkit, Tailwind CSS, Shadcn UI.
- Backend: Express.js, MongoDB (Mongoose), JWT, bcrypt.
- Shared: Zod for schema validation and type safety.
- Package Management: pnpm workspaces.
This project is licensed under the ISC License.