A sample web app that uses the NanoNets Optical Character Recognition Node.js SDK.
- Clone the repo.
- Navigate to the
exampledirectory on the command line. - Run
npm installin theexampledirectory. - Create a
.envfile in theexampledirectory with the necessary API Keys, Model IDs and other parameters. Refer to sample.env for the.envfile format. - Uncomment the required class instantiations and functions in index.js.
- Run
npm run startin the root directory of the project to start the server. - The sample web app can be accessed using localhost at the port specified in the server console. The output will be visible on the server console.