kamikitty / ResilientSmartGarden

0 stars 0 forks source link

Implement Companion Planting Database #64

Closed jasonplojo closed 6 years ago

jasonplojo commented 6 years ago

Companion planting database interaction has been implemented.

I changed the file structure for code maintainability and potential database extensions. The user database interaction and companion database interaction have their own individual files. They are "linked" together in the "rsg_database,js" file by using exports. This is the main file to import/require for database interactions with users and companion planting.

The database can be extended by adding another file and having that module exported in "rsg_database.js"