Test the Application

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

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

copy
$
catalyst serve
Info: The application will be ideally served on the default port 3001. If the port happens to be occupied by another process in your local system, it will be served in the next available port.

catalyst_tutorials_nosql_taskmanager_cli_serve

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

catalyst_tutorials_nosql_taskmanager_cli_serve_live_act

You can now open the application’s localhost URL in a browser to access the Task Manager application.

catalyst_tutorials_nosql_taskmanager_serve_main_screen

Test Create Functionality

  1. Populate the required fields and click Add Task, to create a task. catalyst_tutorials_nosql_taskmanager_serve_screen__add_task_1

  2. The task will be created. You can verify, if your task has been created by searching for the data in the NoSQL table present in the console. catalyst_tutorials_nosql_taskmanager_serve_nosql_first_local

  3. Choose the table TaskHandler from the Index drop-down, and search using either the UserID (Partition Key), or Task Name (Sort Key). Provide values for the required attributes to search by. catalyst_tutorials_nosql_taskmanager_serve_nosql_first_local_2

Test Filter Functionality

  1. Click the Filter Task button in the client app to navigate to the filter operations section. You can search for tasks that match the criteria of the filters you provide. catalyst_tutorials_nosql_taskmanager_serve_filter_button_highlit

  2. Enter the required inputs and click Apply Filters, to view the filtered results. catalyst_tutorials_nosql_taskmanager_serve_filter_apply

Test Edit and Delete Operations

After you’ve queried for a task, you can perform edit and delete operations on the task.

To edit a task:

  1. Click Edit to edit the task. catalyst_tutorials_nosql_taskmanager_serve_filter_update_hihglit

  2. Click Submit once you’ve updated the task. catalyst_tutorials_nosql_taskmanager_serve_filter_submit_update

The task will be updated.

To delete a task:

  1. Click Delete on the task you no longer require. catalyst_tutorials_nosql_taskmanager_serve_filter_del_apply

  2. Click OK to confirm the delete operation. catalyst_tutorials_nosql_taskmanager_serve_filter_submit_confirm

The task will be permanently deleted from the NoSQL table, and from the application. You can open NoSQL in your console to check if these updates were made.

If the application is working as defined in this page, then you can deploy the application.

Last Updated 2025-11-26 15:38:32 +0530 IST