{"id":26951543,"url":"https://github.com/kanitakadusic/si-docflow-server","last_synced_at":"2026-05-01T09:31:47.314Z","repository":{"id":285656658,"uuid":"958890784","full_name":"kanitakadusic/si-docflow-server","owner":"kanitakadusic","description":"Document processing system","archived":false,"fork":false,"pushed_at":"2025-06-12T08:34:10.000Z","size":90838,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-12-05T18:28:05.731Z","etag":null,"topics":["ai","nodejs","ocr","postgresql","sequelize","server","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kanitakadusic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-01T23:48:03.000Z","updated_at":"2025-07-13T09:37:49.000Z","dependencies_parsed_at":"2025-04-02T01:24:22.887Z","dependency_job_id":"f2446dda-a394-4f7e-a64f-ca0edb254f52","html_url":"https://github.com/kanitakadusic/si-docflow-server","commit_stats":null,"previous_names":["kanitakadusic/si-docflow-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kanitakadusic/si-docflow-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanitakadusic%2Fsi-docflow-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanitakadusic%2Fsi-docflow-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanitakadusic%2Fsi-docflow-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanitakadusic%2Fsi-docflow-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kanitakadusic","download_url":"https://codeload.github.com/kanitakadusic/si-docflow-server/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanitakadusic%2Fsi-docflow-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32492122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","nodejs","ocr","postgresql","sequelize","server","typescript"],"created_at":"2025-04-03T00:16:24.199Z","updated_at":"2026-05-01T09:31:47.307Z","avatar_url":"https://github.com/kanitakadusic.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docflow-server\n\n\u003e document processing system\n\nThis repository contains the processing server for a document processing system. It receives documents from a Windows application, processes them using OCR services, and maps extracted data to predefined layouts. After processing, the data is sent back for user verification and correction. Once finalized, the server forwards the document based on configured rules, such as saving it locally, uploading via FTP, or sending it to an external API. This repo focuses on the processing server, which interacts with separate repositories for the [Windows application](https://github.com/kanitakadusic/si-docflow-windows.git) and [admin dashboard](https://github.com/HarisMalisevic/si-docflow-admin.git).\n\n## Architecture 🗂️\n\nThe component diagram of the system is provided below.  \n\n![System architecture](documentation/images/systemArchitecture.png)\n\n## How to Use ⚙️\n\n\u003e To clone and run this application, you will need [Git](https://git-scm.com/), [Node.js](https://nodejs.org/) and [PostgreSQL](https://www.postgresql.org/download/).\n\n### Option 1: Using processing server independently\n\nTo set up and run the application independently, follow steps **1** through **4** below. After initial setup, step **5** covers ongoing development.\n\n### Option 2: Using admin dashboard together with processing server\n\nFor a complete setup, first follow the instructions in the [si-docflow-admin](https://github.com/HarisMalisevic/si-docflow-admin) repository. Then, proceed with steps **1**, **2** and **5** below for the processing server.\n\n---\n\n#### 1. Environment Setup \u0026 Dependency Installation\n```\n# Clone the repository\n$ git clone https://github.com/kanitakadusic/si-docflow-server.git\n\n# Navigate to the project directory\n$ cd si-docflow-server\n\n# Install all dependencies\n$ npm install\n```\n\n#### 2. Configuration File Setup\n\nCreate a _.env_ file in the project root with required environment variables. See [env-setup.md](./documentation/env-setup.md) for details.  \n\n#### 3. Code Build \u0026 Database Seed\n```\n# Compile TypeScript to JavaScript\n$ npm run build\n\n# Load and export environment variables\n$ npm run vars\n\n# Create database tables and insert seed data\n$ npm run seed\n```\n\n#### 4. Bootstrap \u0026 Application Startup\n```\n# Perform initial setup tasks\n$ npm run bootstrap\n\n# Start the application\n$ npm run serve\n```\n\n#### 5. Development\n```\n# For further development\n$ npm run dev\n```\n\n## Documentation 📚\n\n- [Environment Variables Setup](./documentation/env-setup.md)\n- [API documentation](https://docflow-server.up.railway.app/api-docs/)\n- [Questions and Answers](./documentation/q\u0026a.md)\n\n## Instructional Videos 🎥\n\n👉 [Click here to watch the local setup video](https://drive.google.com/file/d/1wA7gXKN9DZgM2DjyqakIQcsxJYVoVDWQ/view?usp=sharing) (4 minutes 39 seconds)\n\n👉 [Click here to watch the Railway deployment video](https://drive.google.com/file/d/1AthoUzsoxkc6dAKwPNVe76llghace6MH/view?usp=sharing) (10 minutes 26 seconds)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanitakadusic%2Fsi-docflow-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanitakadusic%2Fsi-docflow-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanitakadusic%2Fsi-docflow-server/lists"}