From 925f47a18b717e00e84e3f63ef5aa127e81254e7 Mon Sep 17 00:00:00 2001 From: BHAGTANIDEEPAK Date: Mon, 14 Apr 2025 17:08:20 +0530 Subject: [PATCH] first commit --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1185751 --- /dev/null +++ b/README.md @@ -0,0 +1,36 @@ +# Invoice Extraction and Standardization API + +This API allows you to upload an invoice image and extract its details in a standardized JSON format. The extracted data is merged with a master template to ensure consistency across different invoices. + +## Features + +- Upload an invoice image and receive extracted data in JSON format. +- Standardize the JSON output with a predefined master template. +- Ensure consistency in units and metrics across different invoices. + +## Setup Instructions + +### Prerequisites + +- Node.js (version 14 or later) +- npm (version 6 or later) + +### Installation + +1. **Clone the Repository**: + ```bash + git clone + cd + ``` +2. **Install Dependencies**: + ```bash + npm install + ``` +3. **Create a .env file** + ```bash + MISTRAL_API_KEY=your_mistral_api_key_here + ``` +4. **Start the server by running:** + ```bash + node server.js + ```