upanshu21 / mongodb-java-crud

This repository contains java crud application with MongoDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java CRUD with MongoDB

This is a simple Java CRUD application using MongoDb. To run this project you need -MongoDB environment installed on your local machine -MongoDb compass for database visualization

Before running this project start the MongoDB server. This project uses default MongoDB port.

Running this project

  • Clone this repo on your local machine.
  • Open the project in your IDE.

open the terminal

mvn compile
mvn exec:java -Dexec.mainClass=com.mongodb.Driver

The project has 4 different functions for each operation. for clear understanding run one function at a time. You can do this by commenting the other three function call in the Driver class. You can also watch each change in the database using the MongoDB compass.

About

This repository contains java crud application with MongoDB


Languages

Language:Java 100.0%