Built out API Functionality

This commit is contained in:
YourWishes committed 2018-07-02 17:49:59 +10:00
1 parent 7ef7ee6d35
commit aa532e0fc8
8 files changed
+429 -8

No files matched your search

+3 -3
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;