Introduces GET /users/:id endpoint with validation schema, adds tests for user and register routes, and applies security middlewares (helmet, hpp, cors) to the server. Also adds ESLint configuration and updates logger with linting comments.
2 lines
76 B
ReStructuredText
2 lines
76 B
ReStructuredText
GET http://localhost:3000/users/johndoe HTTP/1.1
|
|
authorization: Bearer token |