Implementing user account management by creating accounts
Using nothing but the Firebase SDK, we can create new accounts with some metadata directly from our dashboard so let's see how we can make that happen.
Getting ready
To perform such an operation, you will probably need to have a form; such a form will have many fields, including, but not exclusively, the email, password, name, and more. Such a form will perform a post request in order to send the data from our frontend to our backend, also known as API. Now over in our API, let's create a new route and add the custom logic that will eventually handle such a request.
How to do it...
Within our example, we'll have an express server running which will give us the possibility to have some basic routes that we'll use in order to create our dashboard, and what needed now is to have a route that will help us create a user, so let's see how to implement that.
req.post('/create/users', (req, res) => { let {email, password, fullName...