Subhankar4901 / TSG-web-hackathon-backend

A repository for TSG website hackathon 2021
MIT License
2 stars 1 forks source link

make a get request /student/achievements route #17

Closed shobhit10058 closed 2 years ago

shobhit10058 commented 2 years ago

The request body should contain a jwt token from which user will be extracted. This route should respond with achievements of this user.

shobhit10058 commented 2 years ago

def achievements(token): pass

shobhit10058 commented 2 years ago

return a response containing all info in achievement expect user id in json format. Also, add event title, type and tag.

Subhankar4901 commented 2 years ago

Implemented. Check : achievement-event-prototype branch. Currently certificates are not handled. For testing purposes I have created an add_event route in event folder under routes.