Added an extra unit test for the NutrientComponent enum
Fixed some issues on the old pages (which are not really maintained anymore, but this time I did it anyway).
Did a refactor of the create pages to support edit capability.
The edit is not yey implemented.
Added "create" vs "edit" labels to differentiate modes.
Added a link to the edit page from the details page
Added a whole bunch of Node.js exprimental stuff
added some schema validators
Added Nutrient schema
Added some extra tests and validation.
Also learned a thing or two about Node.js
Done some work on the migrator module to support full mongoose schema spec. Should be ready for importing into database now.
First version of nutrient migrator is done. Using Mongoose.
Renamed ingredient.nutrientId to ingredient.nutrient
Added extra defense for accidental migration.
Fixed problem where servings were not ported with the migration!
Now a single serving is added to the "servings" in mongodb.
(the mysql only supports one serving)
Added some experimental new styling stuff