Skip to content

Chinlinlee/NTUNHS-CourseUpdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NTUNS-CourseUpdate

config

Add cofig in cofig folder config/config.js

Content:

module.exports =
{
    HTTPServer:
    {
        "viewsRoot": "./views",
        "httpPort": 30087,
        "httpsPort": 7878,
        "host" : "127.0.0.1" ,
        "timeout": 30000
    },
    MONGODB: {
        "host" : "127.0.0.1" , 
        "port" : 27017 , 
        "db" : "My_ntunhs" , 
        "ssl" : false ,
        "username" : "user" , 
        "password" : "password" , 
        "authDB" : "admin"
    }
};

Add config in models/NTUNHS/config.js to fetch course

module.exports  = {
    stuNum : "北護入口網帳號" , 
    stuPwd : "北護入口網密碼"
}

About

以NTUNHS的課程查詢產出的Excel更新本地MongoDB資料

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published