hardikverma22 / travel-planner-ai

AI travel planner leveraging Next.js, Convex, Clerk, Resend and OpenAI APIs for natural language interactions
https://travelplannerai.online
47 stars 15 forks source link

Environment variables #3

Closed MokiMeow closed 5 months ago

MokiMeow commented 5 months ago

hey, noticed your project looks very good , wanted to know the env u used for this? other than its a solid project , I would like something of putting a vid of some sort when it shows it comes up with a vid on the place

hardikverma22 commented 5 months ago

Hey,

Thanks for the feedback, but can you elaborate more about the vid part. By the way, i have committed a sample env file but based on where the env variable is used i have placed them accordingly in my deployment, for example razorpay related vars are in vercel and openai related vars are in convex.

MokiMeow commented 5 months ago

I thought it would be more engaging if the user sees a vid related to the place he goes so maybe when ever a place is put for ex: lets take goa and the ai responds where to go , beside tht it would be better to add a link or a vid somewhere so the user gets engaged feels like to go there , so he understands where he is going and has better plan (ik this is vague but i thought would be useful) and i would also say to implement expenses so the ai could determine where all he can travel for the budget )

hardikverma22 commented 5 months ago

Sure, thanks, i will think about it and will try to find an api or something to get videos as well and host them on CDNs.

MokiMeow commented 5 months ago

Screenshot 2024-05-19 180705 hey wanted to know why cant i select the bar? and create my plan is not displaying is there any step i missed?

hardikverma22 commented 5 months ago

Thanks for notifying, I have fixed it now, the issue was caused by Clerk not sending the web hook for a new user.

MokiMeow commented 5 months ago

Hey I have noticed some few more bugs in the mobile application when changed to dark mode it has a glitch and in dark mode the maps are not properly visible , and in dark mode the application doesn't work sometimes IMG-20240520-WA0002 IMG-20240520-WA0001

MokiMeow commented 5 months ago

WhatsApp Image 2024-05-20 at 15 33 43 thanks for the above help, but I am stuck here , I have added my openai key, covex , clerk , still i can cant access that and i got 0 credits , at the start it should have 1 credit but it shows 0 credits whenever i load the page ? could u help with the issue

hardikverma22 commented 5 months ago

WhatsApp Image 2024-05-20 at 15 33 43 thanks for the above help, but I am stuck here , I have added my openai key, covex , clerk , still i can cant access that and i got 0 credits , at the start it should have 1 credit but it shows 0 credits whenever i load the page ? could u help with the issue

You should have the convex setup and up and running using the command pnpm dlx convex dev --tail-logs

hardikverma22 commented 5 months ago

Hey I have noticed some few more bugs in the mobile application when changed to dark mode it has a glitch and in dark mode the maps are not properly visible , and in dark mode the application doesn't work sometimes IMG-20240520-WA0002 IMG-20240520-WA0001

Fixed the issue with Side drawer but maps dark mode is from google.

MokiMeow commented 5 months ago

I WhatsApp Image 2024-05-20 at 22 19 56 WhatsApp Image 2024-05-20 at 22 19 55 WhatsApp Image 2024-05-20 at 22 19 56 (1) completely have set up my convex and did run all but yet its not working , only the top 4 env I have set up with openai , not setup the clerk webhook (is it needed?) other than that I have completed necessary requirements , should I add anything in convex?, in the code somewhere I missed any key u reckon?

hardikverma22 commented 5 months ago

I WhatsApp Image 2024-05-20 at 22 19 56 WhatsApp Image 2024-05-20 at 22 19 55 WhatsApp Image 2024-05-20 at 22 19 56 (1) completely have set up my convex and did run all but yet its not working , only the top 4 env I have set up with openai , not setup the clerk webhook (is it needed?) other than that I have completed necessary requirements , should I add anything in convex?, in the code somewhere I missed any key u reckon?

User should have been received from clerk webhook, that only adds a user in your convex db along with 1 credit without that nothing would work

MokiMeow commented 5 months ago

Screenshot 2024-05-20 234803 WhatsApp Image 2024-05-20 at 23 50 28 i just completed setting up the webhook took long time but after I did it doesn't display if its success or fail and still its same, did i do anything wrong in the set up , in a vid I saw for the webhooks he used (/api) in the URL of the endpoint I didn't , was that the issue?