Overview: In this tutorial, we will be covering how to set up a simple REST API using…