Set up global context and immediately create a general setup for useReducer. Create two files, one for reducer and one for actions. Implement these functionalities in the reducer and actions files, ...