About This Space

User Account Management and Login System


Last updated on October 30, 2020

Public Permissions:   View   Open/Fork   Run   Comment  

Low-code Login System

This is 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

Filters:

Popular Recent

Demo app to use EJS to display information from a database

8136

0

4

A simple Demo of how to deploy EJS templates from a stateful Node.js script

7706

0

6

This lab walks you through building a series of Node.js applications that work with employee data.

7595

3

7

This space illustrates the simplest way to load a Rich Display grid with data, where all records are sent to the grid in bulk.

7009

0

6

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).

6224

0

5

A simple dashboard example that uses responsive design

5999

0

3

Simple example of a real world business application

5744

0

1

This workspace illustrates the basic setup of an HTML page that includes external JavaScript and CSS files

5651

0

5

This is a full database maintenance CRUD application with view, change, add, and delete capabilities

5386

0

7

This app allows a team to decide where to go for lunch (or dinner) by using acceptance voting.

4785

2

4

Calculate simple mathematical operations using server-side code.

4777

0

1