Skip to content

Commit

Permalink
Merge branch 'main' of github.com:VincentGillot/class-repo-mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentGillot committed Apr 25, 2023
2 parents 8bab32c + 6d6822c commit d2f7824
Show file tree
Hide file tree
Showing 10 changed files with 1,487 additions and 1,153 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ MAILER_PORT=111
MAILER_HOST=mailer.com
MAILER_USER=[email protected]
MAILER_PASS=password
MAILER_SENDER="Some Name"
JWT_SECRET_KEY=somesecret
14 changes: 13 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,24 @@ export { MongoDB } from "./src/dal/mongodb/MongoDB";

export { mongoose };

// BLL

export { BLL } from "./src/bll/BLL";

export { Mailer } from "./src/bll/Mailer";

export { Password } from "./src/bll/Password";
export { JWT } from "./src/bll/JWT";

// DAL
export { UserRepo } from "./src/dal/user/UserRepo";
export { SessionRepo } from "./src/dal/session/SessionRepo";

export { User } from "./src/dal/user/User";
export { Session } from "./src/dal/session/Session";

//TYPES
// TYPES
export { BLLConstructor } from "./src/bll/BLL";

export { MainRepository } from "./src/dal/mongodb/MainRepository";
export { GenericDocumentClass } from "./src/dal/mongodb/GenericDocumentClass";
Expand Down
Loading

0 comments on commit d2f7824

Please sign in to comment.