The backend application, part of the [Device Management Web Application] system, serves as a robust server-side component designed to handle various operations related to appliance management. Developed using Node.js and Express.js, it provides RESTful API endpoints for seamless communication with the frontend or other clients.
Clone the project into local
Install all the npm packages. Go into the project folder and type the following command to install all npm packages
npm installIn order to run the application Type the following command
node app.jsRetrieve a list of appliances based on optional query parameters (deviceStatus, downloadStatus).
Retrieve detailed information about a specific appliance based on applianceId.
-
Node.js: The server runtime environment for executing JavaScript on the server side.
-
Express.js: A fast and minimalistic web application framework for Node.js, streamlining the development of robust APIs.
To deploy the backend, clone the repository, install dependencies, configure the database, and start the server. The application will be accessible at http://localhost:8080 by default. For production deployment, consider hosting on a server or cloud platform.