Infinity Forum
Christian Engineering Solutions (CES) is a Not for Profit Organization specializing in collaborative solutions development for the Church. In the Spirit of Jesus Christ, we are to spread the gospel throughout the Earth, taking care to be good examples of Christ Jesus by serving others. CES is designed to help the Church meet these goals in the most rigorous manner possible.
Our Technology is scripture based in its goals and foundations. Open-Source and Free, one may use our services to both learn and solve problems with the goals of helping others and growing closer to God.
//Working pseudo code
const passageController = require("./controllers/passageController");
const User = require("./models/User");
//getting messages
user.messages = [{
foreignKey: 'Passage'
}];
//get messages for user
User.findOne({_id: user._id}).populate({path: 'messages', options: {sort: {'stars': '-1'}}});
//nevermind,
//just create model for Messages
//then star message on StarPassage for consistency
//clear out old messages for user
//...TODO
//notes for filestream
passage.fileStreamPath = '/somepath'; //unique key
//require admin to update path
//create if not exists in filesystem
//code is file content
//title is file name