Verify our Database is Working

At this point, you should have your model, controller, & database including your CORS policy setup for your application.

Now we want to use Postman to add an item to our database and verify that we are able to retrieve that item. Inside of Postman make a POST request to your endpoint, sending all the data from your model as a JSON object. After successfully adding the item refresh your browser pointing towards your endpoint and you should see your newly added data.

Refreshing the browser essentially does another GET request for you. So it should always be returning all the data that you have added to your database.