This project was bootstrapped with Angular CLI. It utilizes the SDK Dynamic Web TWAIN to provide the following functionalities.
Environment: Node.js v18.16.0
Apply for a 30-day free trial license of Dynamic Web TWAIN.
Update the license key in two files src\environments\environment.ts
and src\environments\environment.prod.ts
:
export const environment = {
production: false,
Dynamsoft: {
dwtProductKey: 'LICENSE-KEY'
}
}
Install the dependencies:
npm install --force
Run the Angular application as follows:
ng serve
Set up and run the server piece which is used solely for receiving uploaded files. Run the command-line as follows:
cd server
npm install
node server.js
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.