Skip to content

Instantly share code, notes, and snippets.

@royib
Created October 15, 2019 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save royib/7a3bf9bf67ca03d7bc449f73987b9922 to your computer and use it in GitHub Desktop.
Save royib/7a3bf9bf67ca03d7bc449f73987b9922 to your computer and use it in GitHub Desktop.
Node Clean Architecture – DatabaseServices Contract
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