A full-stack web application for managing pesticides and fertilizers business operations.
- Django 5.0
- Django REST Framework
- SQLite Database
- Custom User Authentication
- QR Code Generation for Payments
- React with TypeScript
- Vite
- Shadcn UI Components
- React Router DOM
- Axios for API calls
- Context API for state management
-
User Management
- Custom user model with role-based access
- Authentication system
- User profiles
-
Product Management
- Product catalog
- Image management
- Stock tracking
-
Order Management
- Order creation and tracking
- Status updates
- Location tracking
-
Payment System
- UPI payment integration
- QR code generation
- Payment reminders
-
Sales Reporting
- Basic reporting system
- Sales tracking
- Python 3.11+
- Node.js 18+
- Docker and Docker Compose
- Clone the repository
- Start the containers:
docker-compose up --build
- Access the applications:
- Frontend: http://localhost:5173
- Backend: http://localhost:8000
- Admin interface: http://localhost:8000/admin
cd backend
python -m venv venv
source venv/Scripts/activate # Windows
pip install -r requirements.txt
cd src
python manage.py migrate
python manage.py runserver
cd frontend
npm install
npm run dev