Test Your Application

Before you deploy the application to the remote console, you can test the application on a local server and check if everything works fine using the Catalyst CLI.

To serve the Catalyst project locally, execute the following command from your project directory:

copy
$
catalyst serve

This application is now served at default port 3000. The local endpoint URLs of the components are displayed.

Note: Every time you access the home page or any of the sub-pages of your client or the function, the CLI will display a live log of the URL accessed, along with the HTTP request method.
catalyst_tutorials_eventapp_signals_serve

You can now open the client component’s local URL in a browser to access the application. Provide any name to test in the form. Enter one of your email addresses for Catalyst to send the verification and onboarding emails to and click Get Started.

catalyst_tutorials_eventapp_signals_serve_start

A verification mail will be sent to your email. Click the link in the email to set up a password to access the client application.

catalyst_tutorials_eventapp_signals_email_sent_1
Note: You can customize this verification email by navigating to Email Templates in the Authentication component in the Catalyst console. However, the default email template that Catalyst provides satisfies our needs. You can learn more about this in detail from the Email Templates help page.

You will be redirected to a password setup page. Enter a password, confirm it, and click Confirm.

catalyst_tutorials_eventapp_signals_pwd_set

When you click Confirm, you will be redirected to redirect.html that we configured earlier.

catalyst_tutorials_eventapp_signals_rule_test_product_tour

The Rule will now be triggered.

You can check the status of the event’s processing from the Logs component present in the Signals section of the Catalyst console. Once the event is processed it will be labelled as Success.

catalyst_tutorials_eventapp_signals_email_signals_logs

If you click the Logs icon, you will be directed to the Logs component present in the Catalyst DevOps service. Here, you will find detailed logs on the execution of the event.

catalyst_tutorials_eventapp_signals_logs_devops

You can check your email to view the onboarding mail.

catalyst_tutorials_eventapp_signals_email_pdt_tour

Clicking the link will redirect you to the tour.html page that we configured earlier.

catalyst_tutorials_eventapp_signals_pdt_tour

The configuration is now functional and works without any errors.

Last Updated 2025-06-17 17:46:43 +0530 +0530