2.0.0-beta-202501070922 • Published 6 months ago

dynamsoft-document-scanner-trial-beta v2.0.0-beta-202501070922

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
6 months ago

Running the Sample

Steps to Run the Sample

  1. Install Dependencies
    Install all necessary dependencies by running:

    npm install
  2. Build the Project
    Build the project to prepare it for execution:

    npm run build
  3. Start the Server
    The server logic is defined in index.js. Start the server by running:

    npm run serve

Notes on the Test Server (Development Only)

This sample uses the web server provided by Express (https://expressjs.com/). It is intended solely for local development and testing purposes, and it lacks production-grade features like advanced security, scalability, and detailed logging.

  • The server is configured to run on "localhost" using port 3000 and on your computer's local IP address using port 3001 with SSL enabled via self-signed certificates.
  • To access the application from a mobile device or another computer on your network, use your computer's local IP address and ensure the device is connected to the same Local Area Network (LAN).

    • If there are multiple local IP addresses, choose one that works.
    • You will get an security alert in the browser for "self-signed certificates", click "Advanced" to continue
  • The server runs on localhost (port 3000) and your computer’s local IP address (port 3001) with SSL enabled via self-signed certificates.

  • To access the application from another device on your network:
    • Use your computer’s local IP address and ensure the device is on the same LAN.
    • If multiple IP addresses are available, select one that works.
    • Expect a browser security alert for the self-signed certificate; click Advanced and proceed.