My Application

Alex (@alex)

18075

0

0

About This Space

customer data


Last updated on February 21, 2021

Public Permissions:   View   Run   Comment  

Low-code Login System

This is a template for a user account management and login system. The low-code Rich Display named login.json can be placed in front of any application to provide a secure login.

Screenshot

The system provides the ability to:

  • Sign in
  • Create an account
  • Validate that a chosen password is not weak
  • Generate, store, and validate a password hash
  • Verify an email address
  • Reset a password

Configuring Email

The login system uses email to verify accounts. To setup email, update the "mailTransport" property in the .noderun/settings.json file with your NodeMailer SMTP transport details. To see this file, set Show Hidden to Yes on the Files tab.

Next, customize the Email Templates in the following low-code routines:

  • send email verification code
  • send password reset code

Then, remove the Terminate step in each of the routines.

Screenshot

Until email is configured, you can view the generated codes in the server log (in Profound.js Spaces, select Server => View Server Logs). This will allow you to test the system without configuring email.

Be the first to comment:      

Comments

Write Preview Markdown: bold italic code link
Post

More Spaces By Alex (@alex)

Filters:

Popular Recent

ejs leading & trailing spaces

33073

0

1

Test NBA Web Service API

32965

0

1

This is a NodeRun demo space for a Payments applications

32406

0

0

A demo of how to build and consume Web Services with and without parameters

31981

0

0

Stateless Customer Inquiry App

31954

0

0

A demo of how to build and consume Web Services with and without parameters

31163

0

0

31075

0

0

30786

0

0

A demo of how to build and consume Web Services with and without parameters

30723

0

0

This is a simple demo of Fibers! Fibers simplifies code by avoiding messy code known as "callback hell", "promises hell", or "async/await hell". Once Fibers is setup, you never have to think about callbacks or promises (they are handled automatically for you).

30643

0

0