alterclassio / supa-vacation Goto Github PK
View Code? Open in Web Editor NEWBuild a FullStack App with Next.js, Supabase & Prisma | The Modern Dev
Home Page: https://supa-vacation.vercel.app/
License: MIT License
Build a FullStack App with Next.js, Supabase & Prisma | The Modern Dev
Home Page: https://supa-vacation.vercel.app/
License: MIT License
there are some features missing like the favorite homes and load more buttons.
thanks!
I'm not sure if it's due to an error in my env variables, or something else. Here is the error I am getting when I try to sign up or login with email.
error - unhandledRejection: Error: 4381894144:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332
Edit
and Delete
buttons are showing up on every home.
According to the code session?.user.id
is being compared with home owner's id.
But the problem is that session user doesn't have an id
. It only has:
email
image
name
Is it just me?
This code is wrong:
const owner = await axios.get(
/api/homes/${home.id}/owner);
It should be replaced with:
const { data } = await axios.get(
/api/homes/${home.id}/owner);
And then you get the owner email
by data?.owner.email
Tried all solutions mentioned everywhere: 1) […nextauth].js with secret: process.env.NEXTAUTH_SECRET, 2) strategy: 'jwt' or 'database', 3) config password application, 4) solutions here https://dev.to/brokylabs/next-autherrorclientfetcherror-2m8e ... and more. Still having 'Unable to submit' message when trying to list a home:
[next-auth][error][CLIENT_FETCH_ERROR]
https://next-auth.js.org/errors#client_fetch_error undefined {
error: {},
url: 'http://localhost:3000/api/auth/session',
message: undefined
}
Thanks for any support
Hi my friend... can you tell me about Relationship to create Favorite page. I need understood how gonna be...
I trie favoriteHomes Homes[] but the VSCODE said: There are another relationship using Homes[].
Thanks... i need understood about this :-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.