This project consists of a web application designed to be served by an ESP32-CAM that is capable of receiving navigation and camera positioning commands.
Navigate to the project folder and use the package manager npm to install the project dependencies.
npm install
In order to build the source code into static web assets, run:
npm run build
This process will generate the js and css files and put them into the public/assets folder, so the public/index.html can work properly on the browser.
In order to generate a single html file to be easily embbeded into the Esp32-CAM, it will be required to install the gulp client:
npm install -g gulp
Then, you can run:
gulp
or:
npm dist
and the resulting html file will be generated and put into the dist folder.