-
Notifications
You must be signed in to change notification settings - Fork 15
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
Upload photos #9
Comments
Hi @yesahem, can you please assign me this issue? |
Go ahead @saura8668 |
@saura8668 Any updates? |
Hi @geekyharsh05, I have done the frontend. But facing issues while storing it into database. I've created the wranler.toml file to store the JWT_Token and Database_url but it is not fetching from that file. Can you help me with the setup? |
@saura8668 yeah sure. Can you please tell me have you forked and cloned the newer dev branch or the older one? |
Yeah I'm using the older one. It's showing my fork is 33commit behind. this is showing |
@saura8668 Delete your fork and fork it again then clone it. |
done |
Now go to neon.tech grab a database url and afterwards go to prisma accelerate and generate an accelerate url. |
Got a DataBaseURL from prisma |
Now paste it in the env file of your backend folder |
Done |
@saura8668 after pasting it in the env file then run the following commands: npm run postinstall npm run prisma:migrate npm run dev |
Done |
@saura8668 Is it working now? |
Object { name: "PrismaClientInitializationError", clientVersion: "5.20.0" } getting this error after I try to signup using the UI getting the DATABASE_URL undefined after it hits the signup endpoint |
@saura8668 Is your .env file is in the backend folder? Or it is in the root. |
@saura8668 Make sure it is inside the backend folder. |
@geekyharsh05 yes I've created it inside backend folder.still getting undefined for c.env.DATABASE_URL |
@saura8668 Connect with me on X. |
@saura8668 schedule a meet with me or @geekyharsh05 day after tomorrow would love to help !!! |
Sure. @geekyharsh05 I've pinged you in X |
Hi @yesahem, @geekyharsh05 I was able to solve the undefined environment variable issue. The frontend is ready just need to do the backend part to store images. |
Do you need any more help regarding the backend or it is fine now !! If you need any help ping me over X |
Add a feature where user can upload photos and readers can see the photos along with the posts
The text was updated successfully, but these errors were encountered: