Exploring Angular as a beginner, I am working with a local REST API (Express app) and Angular code in the public folder. Currently, everything is functioning smoothly - I can add, update, and delete items in a locally running Mongo db. Check out the code here.
However, the goal is to host the server API on Heroku and separate the Angular code into its own folder, completely independent from any Express app. While Postman works well for server interactions, there seems to be an issue executing the Angular code in the UI (refer to the screenshot).
The code for this setup can be found here.
Any insights on why the HTML code is not functioning as expected? Playing around with CORS settings in Chrome hasn't resolved the issue.