If you have a file in the root project api for the backend, you should change the name.
api
On my part, I changed the file name from api to server and it works for me now.
server