Nikolaos Grammatikos
Mind Map by Nikolaos Grammatikos, updated more than 1 year ago
Nikolaos Grammatikos
Created by Nikolaos Grammatikos over 3 years ago


I mind map about the reset API.

Resource summary

1 Check if the account is undefined
1.1 If is undefined, return { status : 'unsuccessful', message: 'The account is undefined' } with error code 400.
1.2 If is defined checking if is email or username.
1.2.1 If is email, try to find the account with this email. If the account exists, put the account to reset mode. and return { status: 'successful', message: 'You have successful request a reset to this account' } with code 200. If the account not exists, return { status : 'unsuccessful', message: 'This account not exists' } with error code 400.
1.2.2 If is username, try to find the account with this username.
1.2.3 If is not username or email, return { status : 'unsuccessful', message: 'The parameter is not email or username' } with error code 400.
Show full summary Hide full summary


Code Challenge Flow Chart
Charlotte Hilton
Flvs foundations of programming dba 2
mariaha vassar
Core Spring 4.2 Certification Mock Exam
psycholgoy as level topic 2 - memory
Talya Hambling
Chapter 10: Medical coding
Kelly Martin
Basic Python - Strings
Rebecca Noel
Online course: Administration Essentials for the Service Cloud
Saulo Oliveira
RESTful Web Services with Express Framework and mongoose.
Angel Martínez Rodriguez
Our Story
Natalia R
Coding Test!