DocFind Backend is a simple Node.js + Express.js API that simulates a legal assistant tool. It processes search queries and returns summarized results from predefined legal documents. The backend is designed for integration with a React-based frontend.
- Runtime: Node.js
- Framework: Express.js
- Middleware: CORS, express.json()
- Port: 5000
| Endpoint | Method | Description | Access |
|---|---|---|---|
/generate-result |
POST | Accepts a search query and returns a summary along with matching legal documents from the mock dataset. | Public |
- Backend Live Link: Backend Live
git clone https://github.com/mdmasharafilhossain/Documents-Search-Servercd Documents-Search-Servernpm installnpm run dev