dynamsoft-document-scanner-dds-beta v2.0.0-beta-202501070922
Running the Sample
Steps to Run the Sample
Install Dependencies
Install all necessary dependencies by running:npm install
Build the Project
Build the project to prepare it for execution:npm run build
Start the Server
The server logic is defined inindex.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 port3001
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 (port3001
) 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.
6 months ago