This repository contains the source code for a Document Management API built with Flask.
The Document Management API provides endpoints for managing documents, including retrieving documents needing review, saving document changes, and finding duplicate documents.
- Retrieve documents needing review
- Save document changes
- Find duplicate documents
- Clone the repository:
git clone https://github.com/your-username/document-management-api.git
Install dependencies:
cd document-management-api
pip install -r requirements.txt
Run the server:
python app.py
- GET /documents/needs_review: Retrieve documents needing review.
- POST /documents/save_changes: Save document changes.
- GET /documents/duplicates: Find duplicate documents.
Unit tests are included in the test_document_api.py
file. Run the tests with:
python -m unittest test_document_api.py