Created
October 15, 2019 11:09
-
-
Save royib/7a3bf9bf67ca03d7bc449f73987b9922 to your computer and use it in GitHub Desktop.
Node Clean Architecture – DatabaseServices Contract
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DatabaseServices { | |
constructor() { | |
this.studentRepository = null; | |
} | |
initDatabase() { | |
return new Promise((resolve, reject) => { | |
reject(new Error('not implemented')); | |
}); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment