Building a Simple Microservice

Build a simple microservice using Catalyst Basic I/O Functions and integrate it with Zoho CRM to send automated counter-based email alerts when more than a specific number of leads are created

Deploy the Function

To deploy your Catalyst project from the CLI, run the following command in your terminal from your project directory:

$ catalyst deploy

The function is deployed and the production URL of the function is displayed.

If the function stack has been configured in Java:

This function will now be available in your Catalyst console. Navigate to Functions under Compute.

You can click countfunction from the Functions page to view its statistics for the day.

microservice_java_func_overview

Note: You will not be able to edit a Java function from the console. The provision for this will be rolled out soon.

If the function stack has been configured in Node.js:

microservice_node_deploy

The function will now be available in your Catalyst console. Navigate to Functions under Compute.

microservice_node_func_view

You can click counter_based_alert_function from the Functions page to view its statistics for the day, view and edit the code, and further configure the function.

microservice_node_func_overview