ecarry / photography-website-nextjs14-full-stack Goto Github PK
View Code? Open in Web Editor NEWAn open-source Photo BlogπΈπ built using Next.js 14, Prisma, Mongodb, Auth.js, Shadcn/ui and Server Actions.
Home Page: https://p.ecarry.me
An open-source Photo BlogπΈπ built using Next.js 14, Prisma, Mongodb, Auth.js, Shadcn/ui and Server Actions.
Home Page: https://p.ecarry.me
Hi there! Excuse me for taking your time again.
I tried to add photo record on prisma, but in the home page it shows no data.
I'm not sure whether the localhost:5555 is the right place to upload images, or there is another dashboard page for uploading, especially after we deploy the website using Vercel.
Many thanks for your time and help!
Hi! Thanks for this brilliant work!
I followed the readme to set up the environment, but there is an error regarding the prisma.photo.findMany()
, is there anything I should do in the planetscale dashboard?
This is the whole terminal output:
> [email protected] dev
> next dev
β² Next.js 14.1.0
- Local: http://localhost:3000
- Environments: .env
β Ready in 1696ms
β Compiled /middleware in 166ms (217 modules)
β Compiling / ...
β Compiled / in 2.5s (1505 modules)
β Compiled in 200ms (708 modules)
β¨― PrismaClientKnownRequestError:
Invalid `prisma.photo.findMany()` invocation:
The table `(not available)` does not exist in the current database.
at async HomePage (page.tsx:15:20)
β¨― PrismaClientKnownRequestError:
Invalid `prisma.photo.findMany()` invocation:
The table `(not available)` does not exist in the current database.
at async HomePage (page.tsx:15:20)
Thank you! Looking forward to your reply.
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.