0👍
✅
Do you really need to access that /server.js? Try creating separate controllers for your models. Or try creating Models according to your need. For reference – https://loopback.io/doc/en/lb3/Defining-models.html
And remove that
from your html
You actually don’t need that /server.js.
Also, you don’t have any boot/server.js too, according to your project structure.
you have only 2 files in your “boot” folder that are
1. root.js
2. authentication.js
Source:stackexchange.com