Welcome to our React Frontend project. This repository contains the application code along with a dedicated redux folder, which houses the core logic for API interactions and state management.
-
API Integration:
Theredux/apifolder contains files (subscriptionApi.js,fetchMoviesApi.js,auth.js, andaccount.js) responsible for calling external APIs and structuring responses. Please refer to the inline comments and function documentation for how these modules interact with the backend. -
State Management:
Theredux/slicefolder uses Redux Toolkit slices (e.g.,authSlice.js,moviesSlice.js,subscriptionSlice.js, andaccountSlice.js) to manage state. These slices update state values for various React components such asmovieCard.js,profile.js, andDynamicBanner.js.
-
Install Dependencies:
Run the following command in the project root:npm install
-
Development Server:
To start the development server:npm start
Best Practices:
Use descriptive commit messages.
Work primarily in feature branches and open pull requests for merging changes.
Keep API interactions and state updates modular.
Update inline documentation as needed.
Run tests locally before submitting pull requests.