Making request to shopify api from front-end

Hi everyone I am interested if it is possible to make requests to Shopify API directly from the front-end.

I tried to do it myself. First, I got a cors error and when I fixed it I got 401.
Is it possible to auth a front-end app to make some requests to Shopify?

For example, if I want to write an app to manage meta fields then I could make every request from javascript to avoid a network round trip.

If by front-end you are referring to the actual Shopify store pages, then there is the Storefront API. This has some limited access to things. Introduced here → https://shopify.dev/docs/storefront-api. Otherwise if you require additional access to exposed API endpoints you will likely need to deploy a custom/private app, configure an app proxy, etc.