As a developer, I want to set up the API routes in the web server so that the application can communicate with the database.
Acceptance Criteria:
Create API routes for /test, /user/list, /user/:id, and /photosOfUser/:id in webServer.js.
Implement route handlers for each of the API routes.
Ensure that the routes interact correctly with the MongoDB database.
Ensure proper error handling for invalid requests.
Estimated Time: 4 hours
As a developer, I want to set up the API routes in the web server so that the application can communicate with the database.
Acceptance Criteria:
Create API routes for /test, /user/list, /user/:id, and /photosOfUser/:id in webServer.js. Implement route handlers for each of the API routes. Ensure that the routes interact correctly with the MongoDB database. Ensure proper error handling for invalid requests. Estimated Time: 4 hours