I am new to NoSQL and I am working on developing a parts&supplies database within the Grails framework using MongoDB as the supporting database. I am trying to do an automated initial bulk import of projects and I am looking for some ideas as to where to start.
I basically have a hard drive of data consisting of a ready folder and within that folder is x amount of projects and within each project folder is a CSV and 1-5 PNG's that correspond to that CSV. I can easily import a large CSV file - that is not what I am asking about. I am concerned with getting all of these nested files into the database in one motion. The images will have to go through GridFS as they exceed the 16MB limit. I know Mongo doesn't do well with nesting so I'm assuming I won't just be able to import all in one file and have it properly disperse/organize the data. Here is an outline:
Ready Folder
-Project 1
-CSV
-PNG's
-Project 2
-CSV
-PNG's
-Project 3
-CSV
-PNG's
-ETC........