I have a working PERN app on my local machine (same repo), and trying to test on Github Codespaces.
When starting the GraphQL server on Github Codespace I'm getting erros when testing with Postman online Error: Exceeded maxRedirects. Probably stuck in a redirect loop
:
I'm under the assumption I have three options based on other ppl's projects:
- Setup a Docker environment
- Resolve CORS or proxy setup
- Host the server on one repo and the frontend on another (and still tackle CORS and proxy issues)
Ideally in the end I want to continue testing and developing in Github Codespaces.
What's the best option for Codespaces development and the easiest for when I'm ready to deploy?