Closed abhijit-23blaze closed 3 weeks ago
Sorry for the inconvenience, I have not pushed the updated local repo to the github since it's subscription based. Don't worry, I will get this done my tomorrow!!!
On Fri, May 31, 2024, 3:10 PM Abhijit Patil @.***> wrote:
— Reply to this email directly, view it on GitHub https://github.com/vinayak700/Shopify/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASC4ULHJYQTH4KP22P7NGALZFBARTAVCNFSM6AAAAABISPHLM2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDOMZZGIZTAMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Great!! I was working on a project and was having trouble integrating stripe that's why i asked
also can you tell me about the .env file on the client side as well ?
What do you wanna know exactly pin them down here? I will try to assist you as much as I can!
On Fri, May 31, 2024, 5:31 PM Abhijit Patil @.***> wrote:
also can you tell me about the .env file on the client side as well ?
— Reply to this email directly, view it on GitHub https://github.com/vinayak700/Shopify/issues/1#issuecomment-2141906444, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASC4ULBLTVF7XE6G3TP3XRTZFBRARAVCNFSM6AAAAABISPHLM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBRHEYDMNBUGQ . You are receiving this because you commented.Message ID: @.***>
so firstly i think i have connected it correctly to mongodb but when i try to login i am not able to i think it is because of this const apiURL = process.env.REACT_APP_API_URL; i.e i did not put any env file on the client side what should i put in the react app api url ??
1.Try to import and load dotenv and log it inside your database configuration file and check the result.(process.env.'your_env') 2.Check that you correctly specify env variables (it always starts with REACTAPP'YOUR_ENV') for client side.
On Fri, May 31, 2024, 5:43 PM Abhijit Patil @.***> wrote:
so firstly i think i have connected it correctly to mongodb but when i try to login i am not able to
— Reply to this email directly, view it on GitHub https://github.com/vinayak700/Shopify/issues/1#issuecomment-2141940308, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASC4ULHTR4TL44Q3TH27G3TZFBSQLAVCNFSM6AAAAABISPHLM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBRHE2DAMZQHA . You are receiving this because you commented.Message ID: @.***>
alright now can you just tell me how can i acess the admin panel ??
and can you just tell me about the db layout ?
local: mongodb://localhost:27017/
On Fri, May 31, 2024 at 5:52 PM Abhijit Patil @.***> wrote:
right is but what is the api url is it the mango db url ?? i always work with firebase this is my first time working with mongo db that's why i am asking
— Reply to this email directly, view it on GitHub https://github.com/vinayak700/Shopify/issues/1#issuecomment-2141963652, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASC4ULFA4D5AWYUPBAKWEATZFBTPTAVCNFSM6AAAAABISPHLM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBRHE3DGNRVGI . You are receiving this because you commented.Message ID: @.***>
(correction) mongodb Atlas: "mongodb+srv://username>:<password>@<clusterName. mongodb.net/?retryWrites=true&w=majority"
On Fri, May 31, 2024 at 5:57 PM Vinayak Gupta @.***> wrote:
local: mongodb://localhost:27017/
mongoAtlas : mongodb+srv:// : @ cluster0.khgpbvj.mongodb.net replace username and password with yours (check the password conversion nomenclature for special characters before putting it) On Fri, May 31, 2024 at 5:52 PM Abhijit Patil @.***> wrote:
right is but what is the api url is it the mango db url ?? i always work with firebase this is my first time working with mongo db that's why i am asking
— Reply to this email directly, view it on GitHub https://github.com/vinayak700/Shopify/issues/1#issuecomment-2141963652, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASC4ULFA4D5AWYUPBAKWEATZFBTPTAVCNFSM6AAAAABISPHLM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBRHE3DGNRVGI . You are receiving this because you commented.Message ID: @.***>
Issue has been resolved!!!
currently you are using brain tree are you planning to change it to stripe ?