What's the best way to develop GraphQL API for backend and frontend?

If use Apollo Server, we can deploy our backend API to the server and use it to expose to frontend. This way it’s necessary to create GraphQL schema at backend first.

There is a way to push the schema.gql file to Apollo Studio directly. If use this approch, frontend can see the API definition soon and can use its data to generate code via graphql code generator.
The backend can also make new API base the designed API schema just pushed.

However, is it possible to get the Apollo Studio’s schema URL to use in both backend and frontend applications? Is it the best way to develop?