AgTech ERP platform built with React + TypeScript. It provides Admin users with dashboards to manage farmers and their crops, while Farmers can manage their own profiles and crops. The frontend consumes a RESTful API from the backend and includes role-based views.
- Overview
- Prerequisites
- Installation
- Running the Project
- Demo Credentials
- React 19.x + TypeScript
- TailwindCSS
- Material UI
- React Router DOM
- MUI X Charts
Before you begin, ensure you have the following installed:
Clone the repository and set up your virtual environment:
- Clone the repository:
git clone https://github.com/Koech01/AgTech-ERP-frontend
cd AgTech-ERP-frontend
- Install dependencies:
npm install
- Install additional packages:
npm install tailwindcss @tailwindcss/vite postcss autoprefixer
npx tailwindcss init -p
npm install @mui/material @emotion/react @emotion/styled @mui/icons-material
npm install @mui/x-charts
npm install react-router-dom@latest
npm install --save-dev @types/react-router-dom
Start the development server:
npm run dev
- Link : Ag Tech ERP
- Admin : email - admin@agritech.com | password - Admin@123
- Farmer : email - koech@agritech.com | password - Koech@123
- The project is responsive and supports role-based dashboards: Admin vs Farmer.
- Charts visualize crops per farmer (Admin) or crops by type (Farmer).
- Sidebar navigation allows easy switching between modules.