Testing our application

At this stage, we have produced the basic functionality of our application and we are ready to test the application in the browser.

On your terminal, navigate to the project directory. Once you're in the project folder, run the following command:

ionic serve --lab

When you execute the command, your browser will automatically load live screenshots of the application running in Android and iOS side by side. The screen will look like this:

Testing our application

At this stage, once you add new items, they might not show up instantly within your application and you will be required to refresh the page.

Get Learning Node.js for Mobile Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.