Files
EMI-Backend/PromotionalPosts.js
T
2021-10-04 10:13:06 -07:00

31 lines
517 B
JavaScript

const DB = require("./mongoDB.js");
const Post = require("./def/post.js");
let PromotionalPosts = {};
DB.getDB.then((DB)=>{
PromotionalPosts.PopularGroups = async () => {
let groups = DB.getGroups(false);
}
PromotionalPosts.PopularCourses = async () => {
}
PromotionalPosts.ImportantNews = async () => {
}
PromotionalPosts.IntroPost = async () => {
}
PromotionalPosts.continueWatchingCourse = async () => {
}
});
module.exports = PromotionalPosts;