This application facilitates a settlement process between two parties, Party A and Party B. The system manages iterative negotiation of settlement amounts by Party A, along with approvals or objections from Party B. The process ensures that all changes and responses are reflected on both Party A's and Party B's interfaces.
- Submit Settlement Amount: Party A can submit a settlement amount.
- Modify Settlement Amount: Party A can modify the submitted amount until Party B responds.
- Approval or Objection: Party B can either raise an objection or agree to the amount.
- Iterative Negotiation: The loop continues until Party B agrees, leading to a "settled" stage.
- Real-Time Updates: Real-time updates using WebSockets.
- Restart Negotiation: Interface to restart the negotiation process.
- Frontend: React, TypeScript, Tailwind CSS, Antd, Vite
- Backend: Node.js, Socket.io
- Node.js (>= 14.x)
- npm or pnpm
-
Clone the repository:
git clone https://github.com/babeingineer/settlement-negotiation-app.git cd settlement-negotiation-app
-
Install the dependencies:
Frontend:
cd frontend npm install # or pnpm install
Backend:
cd backend npm install # or pnpm install
-
Start the backend server:
npm run start:backend
-
Start the frontend development server:
npm run start:frontend
-
Open your browser and navigate to: http://localhost:3000