I would like to know what the recommended workflow is for developing an API for use with NextJS (following your Code+Tutorials).
My main question follows:
- because you cannot update the “Identifier” after you create an API, and
- while the API is in development I don’t yet know what URL it will live at but will be using localhost:3001,
- I am reticent to create first one for the local environment then another with the same API edges but with a new URL.
What do you recommend?
(edit: I’ve reread this post and I think I can clarify more:
Should I be defining the “Identifier” now as http://localhost:3001/ and replace it later with a completely new API instance with a url e.g. https://my.api.com/? This feels like an anti pattern)