BRL-CAD (Org ID 5154791065911296) Task ID 6154146044444672 | Task Definition ID 6571237767643136 Max instances: 2 Title: [Move SMTP credentials into a settings.json file for Online Geometry Viewer project Description: Online Geometry Viewer is a web based model viewer built in meteor. https://github.com/BRL-CAD/OGV-meteor In the file https://github.com/BRL-CAD/OGV-meteor/blob/development/imports/startup/server/smtp.js line number 29 - 34 contains smtp settings. SMTP settings are used to send email notifications to user. This block of code has smtp settings hardcoded, which is a not a good coding practice. Better way would be to move all these smtp settings into a separate file settings.json. Steps 1) Download/clone the code of OGV https://github.com/BRL-CAD/OGV-meteor 2) Set up your local environment using it's readme file (there's a GCI task for this) 3)Read this short tutorial about using settings.json in meteor https://themeteorchef.com/tutorials/making-use-of-settings-json 4) Move smtp settings that are at https://github.com/BRL-CAD/OGV-meteor/blob/development/imports/startup/server/smtp.js to a settings.json file in root of meteor. 5) OPTIONAL: can you find one more place in the code where moving some variables to settings.json would be helpful? P.S don't forget to have fun! SUBMIT your changes to the repository as a pull request Tags: javascript, optimization, learning, meteor Categories: Coding, User Interface Is Beginner: No Time given to complete: 3 days Mentors: brlcad@gmail.com, shubhamrathore1947@gmail.com, indrplus@gmail.com, gaurav.ishwerdas@gmail.com Student: Jeff Sieu (ID 6542100483014656) Status: COMPLETED (2017-12-14 16:36:38) Last modified: 2017-12-12 16:51:02