Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2. PLACING ORDER(FRONTEND) : The entire flow of Redux for Placing Order. #78

Open
trimakichan opened this issue May 16, 2023 · 2 comments
Assignees

Comments

@trimakichan
Copy link
Collaborator

CONSTANTS:

  • Create an "orderConstants.js" file in the "constants" folder and write the constants.

REDUCERS:

  • Create an "orderReducers.js" file in the "reducers" folder.
  • Write the "orderCreateReducer", "orderDetailsReducer," and "orderPayReducer" functions.

STORE:

  • Add the reducers you created to the rootReducer in the Store.

ACTIONS:

  • Create an "OrderActions.js" file in the "actions" folder.
  • Write the "createOrder," "getOrderDetails," and "payOrder" functions.

UI/VIEW:

  • Create a "PlaceOrderScreen.js" file in the "screens" folder and write the code.

In the App.js

  • Add a '/placeorder' route
@trimakichan trimakichan converted this from a draft issue May 16, 2023
@vuquanh vuquanh moved this from Todo to In Progress in Kal - Event Page May 19, 2023
@vuquanh
Copy link
Owner

vuquanh commented May 19, 2023

completed and merged to Development branch @trimakichan

@trimakichan
Copy link
Collaborator Author

trimakichan commented May 20, 2023

I couldn't merge my branch to the development if I tried to merge like we did last time. This is something we need to figure out.

@trimakichan trimakichan moved this from In Progress to Back-End Done -SM: Makiko in Kal - Event Page May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Back-End Done -SM: Makiko
Development

No branches or pull requests

2 participants