Giter VIP home page Giter VIP logo

photography-website-nextjs14-full-stack's Issues

Question about uploading image

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.

Screenshot 2024-03-01 at 21 27 15 Screenshot 2024-03-01 at 21 27 29

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!

Deployment error for prisma

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.