As we all know, neat and good architecture is important for a system. because if the system architecture is not good, it will have a bad impact in the future. Likewise with the Rest API, the better the architecture that is built, it will make it easier for developers to…