Not sure what I’m doing wrong. I ran docker-compose. Seems to run ok. When access localhost:3000 I get can’t fetch movies (can’t enter on either). I tried running the mongo container manually then started the backend and frontend and it appears to work.
Anybody else struggling with this. Don’t know what else to try.
Thanks. I tried this and it resolved the CORS error that was occurring when the API request for the movies was sent, but now I’m still not receiving a list of movies back from the request (just an empty response). Did anyone else have this problem too?
EDIT: It seems while setting up the backend compose did not accept the “sh” as a legal command