1771 - API for Fetching Project Managers
Fixes #1771
What changes did you make and why did you make them ?
- Added an API that fetches all the project Managers and the projects they manage
Screenshots of Proposed Changes Of The Website
The API request and response

Want to review this pull request? Take a look at this documentation for a step by step guide!
From your project repository, check out a new branch and test the changes.
git checkout -b ntrehan-1771 development
git pull https://github.com/ntrehan/VRMS.git 1771
@ntrehan just a heads up that your API req & res screenshot is currently broken / doesn't populate.
@ntrehan just a heads up that your API req & res screenshot is currently broken / doesn't populate.
Hi @pluto-bell Thanks for pointing that out!
However no matter how many times I reupload it there
I am not able to get it fixed
So I'll just add it here
If curl.exe --location 'http://localhost:3000/api/projects/projectManagers' returns "Unauthorized",
try
curl.exe --location 'http://localhost:3000/api/projects/projectManagers' --header 'x-customrequired-header: custom-header-here'
Note: replace custom-header-here with your own header.
Note: it returns the test data because we're running it locally. It will the actual data for the production environment.
{ : [ "VRMS" ], lead one: [ "New Test Project A+" ], as: [ "Fancy New Project" ], qegq: [ "! ! ! ! ! ! ! ! ! 🚨! ! ! DOGEfdsafdasfdsa" ], test: [ "! ! ! ! !TESTING123fdsaf" ], user: [ "! ! ! ! ! ! ! Project !!!! - testing 🐢fdsaffds" ], a: [ "TESTING Editing", "Projj" ], none: [ "meep" ] }
PR has been added to user_permissions_search feature branch!