The Application: Running the Code
Take a look at how to start the application and test the functionality in the shell.
We'll cover the following
Code
To run the shell, we’ll use the command rebar3 shell
. With this, the shell will start running and we can test the functions that we have created.
Let’s start off with a few basic functions:
bookstore_db:setup().
bookstore_db:add_book("978-0-7546-7834-2", "Behind Human Error", "David D Woods").
bookstore_db:find_book_by_author("Woods").
bookstore_db:teardown().
Get hands-on with 1400+ tech skills courses.