The NextJS based WebApp can be deployed as follows -
-
Install all project dependencies (via npm) -
npm i -
Build react code & export static code by running the following command -
npm run build-export.
This will result in exporting all compiled code to "out" directory. This directory can now be deployed