This project walks you through a step-by-step process of creating a basic CRUD application using mongodb and javafx
For this project we are going to make use of three tools;
mongodb server
mongodb-java-driver 3.5
scene builder
if you have these tools installed on your system, you can go straight to clone and open this project on your system
first, we are going to set up our mongodb server. Go to the link below and download mongodb
https://www.mongodb.com/download-center#community
Now, go to the link below and follow the steps to configure and start your mongodb service
For windows,
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/
For linux,
https://docs.mongodb.com/manual/administration/install-on-linux/
For mac,
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/
Now that we have mongodb up and running, lets create our project.
I will be making use of javafx, so we can create a javafx project and set it up.
Less i forget we will need scene builder to create our awesome GUI for the project. so if u don't have scene builder on your system, go to the link below and download it,
http://gluonhq.com/products/scene-builder/
After you download it, integrate it to your IDE...
Go to http://code.makery.ch/library/javafx-8-tutorial/part1/ if you are using eclipse,
Go to https://www.jetbrains.com/help/idea/opening-fxml-files-in-javafx-scene-builder.html if you are using intellij,
Go to https://docs.oracle.com/javase/8/scene-builder-2/work-with-java-ides/sb-with-nb.htm for netbeans
we need a driver in our java application that will be able to communicate with the mongodb server right from our java application
there are different parkages out there but i will be using mongo-java-driver 3.5.
Go to the link below to download it,
https://jar-download.com/?search_box=mongo-java-driver
what you need to do now is to add the mongo-java-driver 3.5 to your java library