Let’s walk through an example usage of the searchinator.

Logging in

We can’t get to any other pages until we log in, so let’s do that. If we enter heinz for our username and doof as our password, we’ll be let in.

Note that you should consult your data dictionary (probably in inator_data.json) to find or create a valid username/password pair.


Listing Inators

After logging in, we’re redirected to the list of inators. You can see a flashed message [1] at the top informing us that our login was successful.


Viewing an Inator

If we click on one inator, we can see its details.


Back to the List

If we click the Inventory button at the top of the page it takes us back to the list of inators. Note that the “Successful login” flashed message is gone now. That’s the whole idea!


More Details

Let’s have a look at another inator. Maybe we decide that we’d like to delete this one. Let’s click that “Delete” button in the upper right.


Delete Confirmation

We’re taken to a page asking if we’d like to delete the inator. Let’s say that we do! We’ll go ahead and press that red button.



After deleting the inator record, we’re redirected back to the list page. You can see we’ve received another flashed message informing us that the deletion was a success. You can also see that the dynamic-inator is gone now.

Now, let’s press the “Add New Inator” button.


Adding a New Inator

We’re taken to a page where we can fill out a form to create a new inator. Let’s fill it in with some details and press submit.



Looks like adding the inator was a success! You can see that the junk-inator is in our inventory now.


Refresh the Page

If we refresh the page, the flashed message is gone. You can do this with any page to get rid of flashed messages.

[1]Keep in mind that flashed messages only last until the page is reloaded. They’re there to keep the user informed, but they don’t need to stick around.