Partner Management System
A full-stack web application for managing business partners with a modern React frontend and Node.js/Express backend.
🚀 Features
- Dashboard Overview: Visual statistics and charts showing partner distribution
- Partner Management: Complete CRUD operations for partner data
- Responsive Design: Modern, mobile-friendly interface
- Data Visualization: Interactive pie charts and bar charts using Recharts
- Real-time Updates: Live data updates across the application
- Form Validation: Client and server-side validation
- Error Handling: Comprehensive error handling and user feedback
🛠️ Tech Stack
Backend
- Node.js - JavaScript runtime
- Express.js - Web framework
- MongoDB - NoSQL database
- Mongoose - MongoDB object modeling
- CORS- Cross-origin resource sharing
- dotenv - Environment variable management
Frontend
- React 18 - JavaScript library for building user interfaces
- React Router - Client-side routing
- Axios - HTTP client for API requests
- Recharts - Composable charting library
- CSS3 - Styling and responsive design
🚀 Getting Started
Prerequisites
- Node.js (v14 or higher)
- MongoDB (v4.4 or higher)
- npm
Installation
1.Clone the repository
git clone <repository-url>
cd partner-management-system-
Install Backend Dependencies
cd backend npm install -
Install Frontend Dependencies
cd ../frontend npm install -
Set up Environment Variables
Create a
.envfile in the backend directory:MONGODB_URI=mongodb://localhost:27017/partner-management PORT=5000 NODE_ENV=development
Running the Application
Backend Server
-
Start MongoDB
# On Windows net start MongoDB # On macOS/Linux sudo systemctl start mongod
-
Run the backend server
cd backend npm start # or for development with auto-restart npm run dev
The backend will be available at
http://localhost:5000
Frontend Application
-
Run the React development server
cd frontend npm startThe frontend will be available at
http://localhost:3000
Dashboard
- Statistics Cards**: Total, Active, Inactive partners count -CRUD: admin has crud oeration
Partner Management
- Add Partner: Form to create new partners with validation
- Edit Partner: Update existing partner information
- Delete Partner: Remove partners with confirmation
- Partner List: Table view with all partner details
- Search & Filter: Easy partner lookup and management
User Experience -Responsive Design: Works on desktop, tablet, and mobile -Loading States: Visual feedback during data operations -Error Handling: User-friendly error messages -Success Notifications: Confirmation of successful operations
🔧 Development
Backend Development
cd backend
npm run dev # Start with nodemon for auto-restartFrontend Development
cd frontend
npm start # Start React development serverBuilding for Production
# Build frontend
cd frontend
npm run build
# Start backend in production
cd backend
npm start📸 Screenshots
Screenshots will be added to showcase the application interface
sign up

Partner List
Screenshot of the partners table with all partner information

🤝 Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
🐛 Troubleshooting
Common Issues
- MongoDB Connection Error 2.Port Already in Use
- CORS Issues
- Dependencies Issues

