NyayPath is a digital solution designed to increase awareness about mediation in Indian communities & institutions.
The backend system powers the AI-driven Mediator Finder, Chatbot, Case Storage, and Security Features.
This repository contains the Node.js (Express) backend, which interacts with:
- MongoDB → Stores mediators, users, and case data.
- BHASHINI API → Handles speech-to-text & multilingual translations.
- AI Model (Python API) → Intelligent mediator matching (to be integrated).
- Blockchain (Smart Contracts + IPFS) → Secure case storage & document verification.
Demo Link :- https://drive.google.com/file/d/1B-N8JUm9vqxrxig8VhViZ1p0HYi_pakh/view?usp=drivesdk
- Backend: Node.js (Express.js)
- Database: MongoDB
- Authentication: JWT
- Blockchain: Solidity (Ethereum/Polygon)
git clone https://github.com/harshakl03/NyayPath.git
cd NyayPath
Before running the backend, install all required Node.js modules:
npm install
The project contains seeders located in the /seeders folder. Run the following commands one by one to populate the collection:
node ./seeders/runAllSeeders.js
The following command sets the dependencies for nodemon
npm install --save-dev nodemon
Once the collection is seeded, start the backend server:
nodemon index.js