Node Server

Built With Express

Available routes:

/auth

POST /auth/login

POST /auth/logout

POST /auth/refresh-tokens

POST /auth/register

/users

GET /users
Rights: getUsersList

POST /users
Rights: manageUser

GET /users/:uid
Rights: getUsersList

PATCH /users/:uid
Rights: manageUser

DELETE /users/:uid
Rights: manageUser

/projects

GET /projects
Rights: readProjects

POST /projects
Rights: createProjects

GET /projects/:projectId
Rights: readProjects

PATCH /projects/:projectId
Rights: manageOwnProjects

DELETE /projects/:projectId
Rights: deleteOwnProjects

/projects/:projectId/images

GET /projects/:projectId/images
Rights: readProjects

POST /projects/:projectId/images
Rights: writeFiles

GET /projects/:projectId/images/:fileId
Rights: readProjects

DELETE /projects/:projectId/images/:fileId
Rights: manageOwnFiles | manageOwnProjects

/projects/:projectId/files

GET /projects/:projectId/files
Rights: readProjects

POST /projects/:projectId/files
Rights: writeFiles

GET /projects/:projectId/files/:fileId
Rights: readProjects

PATCH /projects/:projectId/files/:fileId
Rights: manageOwnFiles | manageOwnProjects

DELETE /projects/:projectId/files/:fileId
Rights: manageOwnFiles | manageOwnProjects