port :8000
Endpoint : /api/register
field
{
"name": "Your name",
"email":"youremail@gmail.com",
"password":"Set a pawwsord",
"confirm_password":"same as password"
}{
"email":"youremail@gmail.com",
"otp":"your otp"
}Endpoint : /api/login
field
{
"email":"youremail@gmail.com",
"password":"your password"
}will gwt a jwt token
Endpoint : /api/oauth2/login/ field
{
"name": "Your name",
"email":"youremail@gmail.com"
}- Endpoint : /api/password-reset-request/
{ "email":"youremail@gmail.com" }
Will get an otp at this email
-
Endpoint : /api/password-reset/
{ "email":"youremail@gmail.com", "otp":"otp recieved", "new_password":"Set a pawwsord", "confirm_password":"same as password" }
Endpoint : /api/user
will get the data of the user Note: In the header in authorization add the jwt token recieved from login
Endpoint : api/event
will get tht list of all events
Endpoint : /api/event/{id}
will get the data of that particular event... of that id
team_name = {tech, management, marketing}
role = {member, core, head}
Endpoint : /api/team/team_name/role/
will get the list of the team member of the particular domain and of their particular role