Developing a Web Application on NodeJS and MongoDB using ES6 and Beyond
Rimal, Aashis (2019)
Rimal, Aashis
Metropolia Ammattikorkeakoulu
2019
All rights reserved
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-201901281621
https://urn.fi/URN:NBN:fi:amk-201901281621
Tiivistelmä
The purpose of the thesis was to study different aspects of web development using Full Stack JavaScript and to develop a prototype application based on it. Its objective was to study the usage of NodeJS, Express, MongoDB and EJS in developing a Full Stack web application. Moreover, it also focuses on studying the different versions of JavaScript and their use in NodeJS platform.
All the different versions of ECMAScript were studied in great details, especially ES6. Then, the features and implementation of JavaScript based frameworks such as NodeJS, Express and MongoDB were studied and compared to other technologies. Besides, the potential security threats to the NodeJS application and various ways to mitigate them are illustrated. Moreover, a minimum viable product of an application was developed using the mentioned stack.
As a result, an E-commerce application was developed in NodeJS and Express using the NodeJS core packages and modules as well as Express middleware. Other third-party middleware was also used in order to develop a working prototype application.
In conclusion, full-stack JavaScript is considered to be the best technology for developing modern, scalable and secure web applications. However, the inability of NodeJS to handle complex data calculations and algorithms makes it unsuitable to develop large enterprise applications.
All the different versions of ECMAScript were studied in great details, especially ES6. Then, the features and implementation of JavaScript based frameworks such as NodeJS, Express and MongoDB were studied and compared to other technologies. Besides, the potential security threats to the NodeJS application and various ways to mitigate them are illustrated. Moreover, a minimum viable product of an application was developed using the mentioned stack.
As a result, an E-commerce application was developed in NodeJS and Express using the NodeJS core packages and modules as well as Express middleware. Other third-party middleware was also used in order to develop a working prototype application.
In conclusion, full-stack JavaScript is considered to be the best technology for developing modern, scalable and secure web applications. However, the inability of NodeJS to handle complex data calculations and algorithms makes it unsuitable to develop large enterprise applications.