-
Notifications
You must be signed in to change notification settings - Fork 1
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
Hello, Assistance Needed. #2
Comments
Hi, I will take a look and get back to you. |
@NZedan Ok, thank you. And I just moved to another repo because I was trying to upgrade to react 18, but some of the components still hasn't catched up to it. The new URL: github.com/talmax1124/cdshop22 |
You could also use some of my code. I implemented stripe checkout, forgot password, user mail validation with email, and some other things. Thanks again for looking at it @NZedan |
@NZedan Hey, were you able to make it work? |
Hi, I'm trying to set up the oauth strategy, what should I put as the api uri? |
Oh, the oath, for google? It is only working in prod for some reason but just put the localhost port which should be 7500 if I'm right |
@NZedan Did that get it to work? |
@NZedan Your ENV file should look like this: NODE_ENV = development |
Thanks @talmax1124, I couldn't get all the necessary credentials going to get your project fully operational on my system and I don't have much time on this at the mo, so I have made some changes to your code for the things you requested but as I can't run it, it may or may not work! Hopefully it will give you some idea of what I was doing. I have added a message field to the order model that you can pick up on the order screen to implement order timeouts/expiry etc. |
Ok, I'll check it right now. Thanks! |
@NZedan I get this error file:///Users/carlitos/cdshop22/backend/controllers/orderController.js:330 |
Could you get on a discord chat (not call) and get on my live server
…On Tue, Aug 23, 2022 at 8:45 PM Carlos ***@***.***> wrote:
@NZedan <https://github.com/NZedan> I get this error
file:///Users/carlitos/cdshop22/backend/controllers/orderController.js:330
[1] getOrderById,
[1] ^^^^^^^^^^^^
[1]
[1] SyntaxError: Duplicate export of 'getOrderById'
[1] at ESMLoader.moduleStrategy
(node:internal/modules/esm/translators:115:18)
[1] at ESMLoader.moduleProvider (node:internal/modules/esm/loader:289:14)
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOVNS3T7CJI232LAFG4LFHDV2VWBZANCNFSM56UAZ4VA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I won't have time until next week. Remove "export" from line 144 of orderController |
Ok! Still couldn't get it fixed. @NZedan |
Hello! Could you do it? @NZedan |
Hi Carlos, I'm sorry I can't work on your code for you, you will have to look closely at the code I have given you to see how it is working and work through any errors you encounter systematically. Check the package.json in your frontend folder as I may have forgotten to change the proxy back to 7500 (I set it to 6000 when I was trying to get it working). |
Hello, I need assistance with the Add to Cart & Reduce Stock.
I have tried implementing both, but for example, the Add To Cart Functionality but it doesn't add the qty to the existing product. and I can't find the code for reducing stock.
If you could make a Pull Request on my repo, that will be so greatly appreciated.
Repo URL: https://github.com/talmax1124/creativeduoshop
The text was updated successfully, but these errors were encountered: