Closed maxrohleder closed 4 years ago
All globals should be in one place so that they can be changed quickly.
Frontend:
Backend:
Like so:
https://medium.com/@austinpaley32/how-to-add-a-constants-file-to-your-react-project-6ce31c015774
Frontend Globals are now in constants/all.js to use them somewhere in frontend: import { APP_URL } from './constants/all';
All globals should be in one place so that they can be changed quickly.
Frontend:
Backend: