I have created a folder named nginx in the root directory in order to put nginx.conf configuration file where it is mounted to nginx service in the docker-compose build.
Modified the docker-compose.yml file in a way it builds the nginx service after building web service in a container.
Any requests to endpoints starting with /api is directed to backend service, if not it is directed to web service where client can interact.
It is important to note that, since the backend api calls are changed with /api/v1 modifier in the beginning, frontend calls are not testable until front end source code will be modified according to new calls to backend.
It is important to note that, since the backend api calls are changed with /api/v1 modifier in the beginning, frontend calls are not testable until front end source code will be modified according to new calls to backend.