Skip to main content

Test your server with the Todo web application

Clone the application

git clone https://github.com/aserto-demo/todo-application.git

Install the application dependencies

cd todo-application
yarn

Start the application

yarn start

Open your browser on localhost:3000. You should see the following log in dialog:

Start by logging in as the “admin” - rick@the-citadel.com and the password V@erySecre#t123!. Add some todo items, and you should be able to see the following:

Log out, and log in again. This time as morty@the-citadel.com and the password V@erySecre#t123!. Create some additional todo items as Morty:

Since Morty is only an editor, he won't be able to delete a todo item he did not create. To test this, mark one of Morty's todo items as done:

Then, attempt to delete one of Rick's todo items you created before. You should see the following error: