Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Repositories for tables of Role Management Module. #45

Closed
Sarvesh67 opened this issue Jul 25, 2020 · 0 comments · Fixed by #49
Closed

Setup Repositories for tables of Role Management Module. #45

Sarvesh67 opened this issue Jul 25, 2020 · 0 comments · Fixed by #49
Labels
multiple assignees required prerequisite This issue needs another issue to be solved first

Comments

@Sarvesh67
Copy link
Member

Sarvesh67 commented Jul 25, 2020

What to do?
Set up custom queries for a given table and its relationships and add it to a file. Define relevant queries and then export them for use in controllers.

Where should the files be located?
src/repositories/

Prerequistes
#44

Link for resources
https://typeorm.io/#/working-with-repository/
https://github.com/w3tecch/express-typescript-boilerplate/tree/develop/src/api/repositories
https://github.com/jverhoelen/node-express-typescript-boilerplate/blob/master/service/server/cats/CatRepository.ts

@Sarvesh67 Sarvesh67 added multiple assignees required prerequisite This issue needs another issue to be solved first labels Jul 25, 2020
@Sarvesh67 Sarvesh67 changed the title Setup Repositories for tables and join queries. Setup Repositories for tables of Role Management Module. Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multiple assignees required prerequisite This issue needs another issue to be solved first
Projects
None yet
1 participant