Using Winston logger with Low Code

About This Space

Example of using winston logger with Low Code


Last updated on July 19, 2022

Public Permissions:   View   Open/Fork   Modify   Run   Comment  

Example of Using Winston Logger with Low Code

Install package

npm i winston

Useful Links

https://medium.com/geekculture/winston-logger-in-javascript-16d54dbe931f https://github.com/winstonjs

This template uses a simple form to collect information into a database table.

Screenshot

Using the Visual Designer

The form can be created in a drag-and-drop point-and-click manner, without writing any code, simply by the using the Visual Designer Tool. Elements that relate to specific database columns can be dragged to the Designer canvas directly from the Database Tab.

Defining Routines

To specify how form information is saved, a routine must be created. This can be done by right-clicking an element, like the Submit Request button, and selecting the "Build Logic..." menu option.

A routine is a series of steps.

Screenshot

This application only has one routine, but it's possible to create multiple routines that are triggered by different events within an application.

Defining Steps

Each step is created by answering some questions.

Screenshot

You can also write custom JavaScript code to define your steps. While this is not necessary in most cases, it gives you the ability to define custom or advanced functionality for your application.

Using Validation and Database-driven Choices

Some application functionality can be specified when creating widgets in the Visual Designer, rather than by using routines. For example, in the Properties Window, you can mark fields required, or you can specify other validation requirements, such as a field must be in the form of an email address.

Your widgets can also be tied to data from database tables. For example, the Type of Problem dropdown reads its choices from a database. This is configured by using the Database-driven Selection properties on the dropdown widget.

Be the first to comment:      

Comments

Write Preview Markdown: bold italic code link
Post

Filters:

Popular Recent

A demo of how to build, test and consume APIs

2258

0

0

Sample Application for Automated Testing POC

2218

0

0

Example of Changing the Options in a Select Box based on the selection of another

2043

0

0

Example of Grid Row Drag-and-Drop Using Client Side Javascript

1824

0

0

User Account Management and Login System

1938

0

0

This example shows how to build a javascript class from database information

1951

0

0

https://mermaid-js.github.io/mermaid/#/

3700

0

0

Page-by-page Example using a module for retrieving database records

2061

0

0

Simple React Counter Components

2489

0

1

The example is built from the react-beautiful-dnd tutorial found at: https://egghead.io/lessons/react-course-introduction-beautiful-and-accessible-drag-and-drop-with-react-beautiful-dnd

2284

0

0

This space demonstrates how to create a more responsive grid using a layout widget and a little bit of JavaScript and a responsive edit screen. It also incorporates consuming a web service to load list data, adding image upload and display to a screen, and using gauges from Fusion Charts

2184

0

0