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

Implement GET /api/admin/roles endpoint #189

Closed
jaytula opened this issue Sep 25, 2021 · 1 comment · Fixed by #215
Closed

Implement GET /api/admin/roles endpoint #189

jaytula opened this issue Sep 25, 2021 · 1 comment · Fixed by #215
Labels
Back End Focused on Back End (Express / Postgres / Docker) Enhancement Improves or adds something

Comments

@jaytula
Copy link
Contributor

jaytula commented Sep 25, 2021

This requires that #188 be completed first.

We need an endpoint added in Next for returning roles from the roles table. It would be with the apis in admin/roles folder and get.ts file.
That structure will give us the desired endpoint /api/admin/roles/get.

The endpoint should use the function from #188 to get and return a list of roles.

@ZumDeWald ZumDeWald added Enhancement Improves or adds something Front End Focused on Front End code (NextJS / Styled Components) hacktoberfest-accepted Accept for Hacktoberfest, will merge after review Back End Focused on Back End (Express / Postgres / Docker) and removed Front End Focused on Front End code (NextJS / Styled Components) hacktoberfest-accepted Accept for Hacktoberfest, will merge after review labels Sep 29, 2021
@amirfakhrullah
Copy link
Member

amirfakhrullah commented Jun 19, 2022

Hi, I saw that the issue #188 already closed and no one proceeded with this issue yet. I'm interested in fixing this. Can you assign me this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Back End Focused on Back End (Express / Postgres / Docker) Enhancement Improves or adds something
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants