Server now works and compiles

This commit is contained in:
2018-07-01 11:17:29 +10:00
parent 05f3e4a51e
commit 7ef7ee6d35
7 changed files with 195 additions and 21 deletions

View File

@ -21,12 +21,17 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//Imports
const
path = require('path'),
ConfigurationManager = require('./../configuration/ConfigurationManager'),
DatabaseConnection = require('./../database/DatabaseConnection'),
Server = require('./../server/Server')
;
//Constants
const PUBLIC_PATH = path.join(__dirname, '..', '..', 'dist');
class App {
constructor() {
@ -34,6 +39,7 @@ class App {
getConfig() { return this.config; }
getDatabase() { return this.db; }
getPublicDirectory() { return PUBLIC_PATH; }
//Primary Functions
async start() {