Sensor Monitoring and Supervision Using Web Applications and Rest API

Author(s):  
Andre Lucas Silva ◽  
Fabio Favarim ◽  
José Felippe Loureiro ◽  
Robison Cris Brito ◽  
Eduardo Todt
2021 ◽  
Vol 2094 (3) ◽  
pp. 032016
Author(s):  
D V Kornienko ◽  
S V Mishina ◽  
S V Shcherbatykh ◽  
M O Melnikov

Abstract This article discusses the key points of developing a secure RESTful web service API for keeping a student achievement journal. The relevance of using web services has been analyzed. The classification of web applications is given. The features of the Single Page Application architecture were considered. Comparative characteristics of architectural styles of application programming interfaces are given. Requirements to be met by RESTful API services are considered. The basic principles of API security were analyzed. A list of the main vulnerabilities that may appear during the development of the REST API is given. An overview of popular authentication schemes (methods) is given. Comparative characteristics of web frameworks of the Python programming language are given. The main tools used in the development of web API applications are listed. The process of creating a secure prototype of a RESTful web service API in Python using the Flask microframework and a tool for describing the Swagger specifications is presented. The process of configuring the application was examined in detail. The main recommendations for securing a web application, database and web server settings are listed. The key points of ensuring the protection of the developed web application are considered. The results obtained were analyzed.


2020 ◽  
Vol 16 ◽  
pp. 309-316
Author(s):  
Mateusz Mikuła ◽  
Mariusz Dzieńkowski

The aim of the study was to compare the performance of two data exchange styles commonly used in web applications, i.e. REST and GraphQL. For the purposes of the study two test applications were developed containing the same functionalities, one of which was REST and the other one was GraphQL. They were used for performance tests done with the help of the JMeter tool, during which measurements of the total processing time of requests and the volume of data downloaded and sent were performed. An experiment was developed that tested the basic operations found in most network services: display, add, update, and delete data. The most attention was devoted to the information display operation in the case of which load tests were done. On the basis of performed studies and obtained results, no differences in performance during the operation of adding, editing and deleting data by applications based on REST API and GraphQL were found. During the display operation under heavy load conditions and while downloading small portions of data, the service using GraphQL had a better performance. When downloading large portions of data, the REST-based service exhibited a higher performance.


Author(s):  
Сергей Мартишин ◽  
Sergey Martishin ◽  
Владимир Симонов ◽  
Vladimir Simonov ◽  
Марина Храпченко ◽  
...  

It is designed to study and create information systems and applications using distributed databases and file systems. To create information systems based on distributed databases, the server part of the MEAN software stack is used, which includes the NoSQL database type MongoDB, the Node platform and the Express framework. The Robo 3T shell for MongoDB allows you to make more visual work with collections. They also addressed the foundations of administration and replication in a DBMS MongoDB. Mongoose is used as a database object modeling tool.js. In order to create frontend parts of websites and web applications, we study the use of free software Bootstrap, HTML5 Boilerplate, Initializr. A detailed process of developing and testing the REST API-application based on the MVC model is presented. As a result, students will be able to create a complete distributed information system based on modern nosql-type DBMS. Distributed data stores (large amounts of unstructured information) are also used to build applications using the example of Hadoop Apache with the Spark and Scala tools. For the purpose of convenience of the tutorial program codes hosted in the cloud publishing. Designed for students, bachelors, masters, postgraduates and specialists in the design of distributed information systems based on modern database NoSQL-type, creating mobile and Internet applications. The manual is also useful for people engaged in self-education


2021 ◽  
Vol 21 ◽  
pp. 356-361
Author(s):  
Mariusz Śliwa ◽  
Beata Pańczyk

The article presents a comparison of the performance of three ways of implementing programming interfaces used in web applications - REST, GraphQL and gRPC. For the purposes of the research, three applications were developed, which were made in each of the indicated technologies and with the same functionalities. The applications were used for performance tests carried out with the use of the k6 tool. The applications are used to measure the execution time, performance and volume of processed data during display and adding operations. The obtained results allowed for the conclusion that the best interface in terms of performance (measured as the number of transactions per second) and server response time is REST. However, in terms of the smallest data volume, gRPC is the best choice.


2021 ◽  
Vol 19 ◽  
pp. 121-125
Author(s):  
Marcin Grudniak ◽  
Mariusz Dzieńkowski

The aim of the work was to compare two technologies for creating server applications based on the JavaScript programming language. For the purposes of the research, two test applications were created. The first one was built on the basis of the Express programming framework and the second one on the basis of the Hapi framework. The client part of both applications was prepared using the React library. The client and server parts communicated with each other by means of REST API – the universal HTTP interface. The client application sent requests to the server application which then performed basic operations on the MongoDB basis and returned the result. As part of the work, an experiment consisting of four scenarios was developed. In each scenario, a different type of data was taken into consideration: a string of characters, an array, an object and an array of objects. The research focused on the efficiency aspect – measuring the response time of requests during GET, POST, PUT and DELETE operations. The tests were performed on two computers and the measurements were made in two ways: using a single code embedded in test applications and using the Postman tool. The obtained results, after averaging and analyzing them allowed for the conclusion that the Express framework proved to be more efficient than Hapi due to the shorter response time of requests. Only in the scenario where operations with large datasets were performed was the response time of requests at a similar level.


2016 ◽  
Vol 29 (3) ◽  
pp. 407-417 ◽  
Author(s):  
Konstantin Simic ◽  
Marijana Despotovic-Zrakic ◽  
Zivko Bojovic ◽  
Branislav Jovanic ◽  
Djordje Knezevic

In this paper, a modular platform which provides student services for smart educational environment is described. The platform represents a point of mutual integration of various services, such as hosting platform for students? projects, platform for integrating SMS service with students? web applications, Internet of Things platform which enables acquiring data from sensors distributed within the University building and controlling various actuators. Platform is deployed as a part of Smart Learning environment. It is integrated with single sign on service and it uses CAS and Oauth2. REST API is also provided. PHP Symfony framework, relational and non-relational databases are used for deploying the platform. The platform was evaluated and tested.


2018 ◽  
pp. 49-57
Author(s):  
N. A. Gluzman

In the modern educational space regarding the realities of the information society special importance is attached to issues related to the provision of a high level of informatization of education, which implies teachers’ mastering the necessary competencies and the ability to introduce e-learning resources into educational and training practice. Adobe Flash as one of the platforms for creating web applications and multimedia presentations enjoys greatest popularity with users including teachers. However, in connection with the announcement of discontinuing Adobe Flash support in 2020, the issue of choosing an analog to create web applications and presentations for use in teaching purposes is becoming particularly relevant. The article provides a comprehensive analysis of developing electronic educational resources by teachers using Adobe Flash and HTML5 for teaching math in primary school.


Author(s):  
Maragathavalli P. ◽  
Seshankkumar M. ◽  
Dhivakaran V. ◽  
Ravindran S.

Sign in / Sign up

Export Citation Format

Share Document