This frontend app was originally built for a previous IoT project of mine and has now been refactored to use AWS AppSync instead of oneM2M.
Before developing, you will need to install the required node modules, run the following command to install them:
npm ci
To launch the development server, run the following command from this directory:
npm start
To build a deployment version of this app, run this command: npm run build
.
This will create a set of static files in the build
directory.
You can copy/move these files into your /var/www/html
directory to serve them to your users.