I am trying to insert data into mongodb, and I have all the data ready to be inserted into mongodb. The data I am using to insert is a csv type file.
This is the my project. There is a client and server in my project. The server will take in data from CSV file, listening to client and will send data from the CSV file in the memory space of array over to Client. The client side will connect to server, request data and append data into mongodb.
I want everytime the client receive data, it will be inserting the data into mongodb.