Home Node JS MEVN Full Stack Complete Application (MongoDB, Express, Vue js, Node JS)

MEVN Full Stack Complete Application (MongoDB, Express, Vue js, Node JS)

13 min read
0
0
848

This tutorial will teach you how to make Crud Application using Node JS with Vue Js Frontend application and Mongo DB Database using Api access Crudapplication.

First Step What you have to do is you to divide the Front-End and Back-End.

Front-End – Vue JS

BackEnd – Node JS

Create the folder myprojects. inside the folder Frond end project  you maintaining with the separate folder.
Backend project you maintaining with the separate folder.

Install Node JS

Create  a new Project type  the command on the command prompt.

Type the Command on Console.

and create your project. After project has been created you see the package.json file.

Then open the project in to the VS Code Editor by typing the following command

after open up the project in to the vscode editor

Install the Express Server as back end server

Install the mongoDB as database

First Create the Application server.js which manage the ports and libraries and database connection of the project.

we have created the datbase on mongoDB Compass  which name est.
attached the db connection below.

server.js

After that you can run the server type by the following command.
You can get the result as

DB Connectedddd
startedddddd

after that make the new folder route and inside the folder create the page route.js. route.js page which use to manage the all the restapis related to crud operations.

After that create the MVC Page.First Create the Controller Page

userController.js

userService.js

userModel.js

Vue.js

Install  Vue.js CLI

After installed successfully create the vue.js project using following command

After installation completed open the project in to vs code editor

First Step

Create the component Employeecrud.vue.

EmployeeCrud.vue

Routes

    Load More Related Articles
    Load More By admin
    Load More In Node JS

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Check Also

    Create Maven project in Intellij

    In this tutorial will see how to create Maven project in Intellij step by step. First Step…