I deployed a full stack app, in local it’s working fine but in production there are routes where it throws a 404 error. I mean I can see home page fine and profile of the user, but when I try search bar, cart or create a course, it throws a 404 error.
These are the symptoms of not setting up rewrites correctly for static sites, you’ll need every request coming in to go through your client-side router first, so it can then dispatch the request to the appropriate page/component.
If you’re not using a static site but a web service, you need to make sure that the routes you’ve set up are correct and that your client-side router is working properly. The principles of client-side routing remain the same.
Could you provide more specific examples of which routes or what exactly is failing? When I browse your service, most routes seem to be working fine and most things aren’t showing errors. Your service seems generally available and healthy, so the issue is likely due to some configuration errors.