AntonioFiglio / Adonis-Auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AUTH WITH ADONIS

Project developed as the objetive to learn and improve my programming skills.

Method BreakPoint Authorization Query String Body Expected
POST /api/auth/sign-up not required not required email: string, username: string, nickname: string | null, password: string {

"token": {
"type": "bearer",
"token": "*"
},
"user_id": "*"
}
POST /api/auth/sign-in not required not required email: string,password: string {

"token": {
"type": "bearer",
"token": "*"
},
"user_id": "*"
}
POST /api/auth/forgot-password?email={email} not required email: string, not required # NOT CONTENT - HTTP CODE 201
POST /api/auth/reset-password?token={token} not required token: string, email: string, newPassword: string # NOT CONTENT - HTTP CODE 201
DELETE /api/auth/delete?user_id:{user_id} Authorization:`Bearer: ${user_token}` user_id: string, not required # NOT CONTENT - HTTP CODE 201

Techs and Tools

About


Languages

Language:TypeScript 99.6%Language:Shell 0.4%