Backend made with node for the TaskManger app.
The server endpoints are:
- Post request to
'/workspace'
: Creates a workspace - Delete request to
'/workspace/:workspaceID'
: Removes a workspace - Post request to
'/workspace/:workspaceID/user'
: Adds a user to the workspace - Delete request to
'/workspace/:workspaceID/user/:userID'
: Removes a user from the workspace - Post request to
'/workspace/:workspaceID/admin'
: Adds an admin to the workspace - Delete request to
'/workspace/:workspaceID/admin/:adminID'
: Removes an admin from the workspace
The users must provide a header called 'auth' with the credentials in the format 'email:password'.
All the actions but create a workspace must be done by an admin of the workspace.
The app is dockerized to be easier to deploy. There is included a deploy.sh script to deploy it in an environment with docker installed.
TaskManager front: https://github.com/lesterbx/task-manager