Server files for Doto project!
- GET:
- Get greeting 'Hi'
- POST:
- Generates JWT Token
- GET:
- Get the data array of problems solved
- Required Fields (as Headers)
- authrization bearer {token}
- PUT:
-
Update details of the array containing details of problem solved
-
Required Fields (as Headers)
- authrization bearer {token}
-
Required Fields (as form-data or url-encoded in request body)
id
,ty
- id of the problem to be added or deleted.
- ty: 'add'/'del' - add or delete from array.
-
- GET:
- Get the sorted array of ranks
- GET:
- Get the count of registered users.