International Journal of Science and Research (IJSR)

International Journal of Science and Research (IJSR)
Call for Papers | Fully Refereed | Open Access | Double Blind Peer Reviewed

ISSN: 2319-7064

Downloads: 3 | Views: 97 | Weekly Hits: ⮙1 | Monthly Hits: ⮙2

Analysis Study Research Paper | Information Technology | India | Volume 13 Issue 9, September 2024 | Rating: 5.2 / 10


Developing and Building MEVN Stack

Jagadeesh K [4]


Abstract: This article provides a comprehensive guide to developing and deploying a MEVN stack application, using a task management project as an example. It details the setup of essential tools and technologies like Node. js, Express, MongoDB, and Vue. js, and explores various methods to automate the build and deployment processes, including the use of Webpack, Gulp, and Docker. The article aims to streamline the development process and ensure the successful deployment of scalable web applications. This paper provides a comprehensive guide to building a MEVN stack application and deploying it in a production environment. The guide covers the essential steps involved in development, packaging, and deployment, highlighting various methods to streamline and automate the processes. The development section begins with setting up the required prerequisites, including Node. js, Express, Mongoose, MongoDB, and various tools such as Vue CLI and Postman. An example project, specifically a simple task management application, is used to demonstrate the practical implementation of the stack. This project involves creating, retrieving, editing, and deleting tasks through API calls to a Node. js server, storing data in MongoDB. Several approaches for building and packaging the application are explored. The manual implementation section walks through the process of manually building the Vue. js application, placing the static assets in a production - ready directory, and running the Node. js server. However, this method is time - consuming and prone to errors, leading to the exploration of more efficient techniques. The paper then introduces Webpack, a module bundler that simplifies the build process by combining the server code and signific assets into a single file. This approach reduces the need for manual installation of dependencies, but still requires some manual steps. To achieve full automation, the guide demonstrates how to use Gulp, a toolkit that automates repetitive tasks. By setting up a Gulpfile, developers can automate the entire build process, including cleaning directories, building the Vue. js code, bundling the server code, and zipping the final package. This method significantly improves productivity by eliminating manual steps and reducing the potential for errors. Finally, the paper discusses the use of Docker for packaging and deploying the MEVN stack application. Docker allows developers to containerize the application, creating an isolated environment that includes all dependencies and configurations. This container can then be deployed on various container platforms, ensuring consistency across different environments. The purpose of this article is to guide developers through the process of building, automating, and deploying a MEVN stack application for efficient web development.


Keywords: MongoDB, Express. js, Vue. js, Node. js, Server - side, Type - Script, Bootstrap, MEVN stack, web development, Node. js, Vue. js, Docker


Edition: Volume 13 Issue 9, September 2024,


Pages: 188 - 199



Rate this Article


Select Rating (Lowest: 1, Highest: 10)

5

Your Comments

Characters: 0

Your Full Name:


Your Valid Email Address:


Verification Code will appear in 2 Seconds ... Wait

Top