ChicoState / ChicoState/PantryNode

Connect FrontEnd to BackEnd Correctly

Open
#119 1 comment 0 reactions 1 assignee Claimed by @prestonmasseyblake View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.