Now that we have our database setup, we need to be able to write data to that database. Firstly, we need to understand the binding concept. Secondly, we are going to use .put()
to write that data to our database. Remember that .put()
is an async function so we need to await
it for it to work in the way that we want it to.