Your app is one folder, and four places in it matter. app/routes/ holds the pages. shopify.app.toml tells Shopify about your app. prisma/schema.prisma describes your own database. extensions/ holds code that Shopify runs for you.
Every change belongs in one of them. In the wrong place, code often runs without an error and does nothing.