What is the right structure of fastboot backend implementation

Hi, I use express as a backend API for my ember app(frontend) which has fastboot. Now on the server side i used fastboot app server inside express codes. But my senior removed fastboot codes from backend express server and said “it’s wrong approach, fastboot must be inside ember app”. What should i have to do then, i am like completely lost.

FastBoot and the backend API should run as independent processes. When FastBoot requires data from the API then it makes an HTTP request to that process. If you have Nginx or Apache in front then it can route requests to either the backend API or FastBoot depending on the path

1 Like