ChicoState / ChicoState/PantryNode
Connect FrontEnd to BackEnd Correctly
Open
backend
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
From #101
1. Set up environment variables for the frontend to point to the correct backend. (Localhost when dev, EnvVar when prod)
2. Configure CORS correctly (from EnvVar) when deploying backend.
We should be able to use a runtime-injected value for what backend a frontend should be talking to, and what frontend a backend should listen to.
Contributor guide
Assessment
This issue has not been assessed yet.