Built out API Functionality

This commit is contained in:
2018-07-02 17:49:59 +10:00
parent 7ef7ee6d35
commit aa532e0fc8
8 changed files with 429 additions and 8 deletions

View File

@ -40,6 +40,8 @@ class App {
getConfig() { return this.config; }
getDatabase() { return this.db; }
getPublicDirectory() { return PUBLIC_PATH; }
getServer() { return this.server; }
getAPI() { return this.getServer().getAPI(); }
//Primary Functions
async start() {
@ -81,9 +83,7 @@ class App {
}
//Database Specific
onDatabaseConnected(db) {
}
onDatabaseConnected(db) { }
}
module.exports = App;