Next.js + Postgres Setup Walkthrough: Dev/Production

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024

ความคิดเห็น • 19

  • @yogawithaaron
    @yogawithaaron 4 หลายเดือนก่อน +2

    Literally answered my exact question. I.e. how to deploy Vercel Postgres DB to production in a Next.js app. Ty ty ty!

  • @berenjor
    @berenjor 10 หลายเดือนก่อน +3

    This is a great tutorial! What I find confusing is that you're declaring the schema with Prisma but then you are running a migration with Knex, which seems rather a manual process.
    A small bit of feedback for future videos. The editor font size looks very small on YT, bigger would be easier to read.

  • @bejaysus23
    @bejaysus23 ปีที่แล้ว +3

    Another great tutorial. Keep these coming 🙂

  • @vaniad555
    @vaniad555 8 หลายเดือนก่อน +2

    Glad I came across your channel, thank you!

  • @pablotexeira7579
    @pablotexeira7579 ปีที่แล้ว

    that's amazing, great explanation. Keep up the good workm Kevin!!!!

  • @VincentFulco
    @VincentFulco 10 หลายเดือนก่อน

    Great clear and practical teaching style.

    • @kevinwwwade
      @kevinwwwade  8 หลายเดือนก่อน

      Thank you! ❤️

  • @ashimov1970
    @ashimov1970 ปีที่แล้ว +1

    I find Drizzle ORM much better than Prisma

  • @ths871
    @ths871 ปีที่แล้ว

    thank you man !

  • @RealEstateandTechnology
    @RealEstateandTechnology 4 หลายเดือนก่อน

    every thing was going good, but buddy you should write a disclaimer for window's user :( .

    • @kevinwwwade
      @kevinwwwade  4 หลายเดือนก่อน

      I haven’t used windows in forever, so I don’t know what the issues would be. What did you experience? That would be helpful. Thanks!

    • @aaronbegy9857
      @aaronbegy9857 4 หลายเดือนก่อน +1

      @@kevinwwwade windows gets the 'TS_NODE_COMPILER_OPTIONS' not recognized as an internal or external command. but as someone stated in the above comment you can change the package.json to "db:migrate:make": "set TS_NODE_COMPILER_OPTIONS={ \"module\": \"commonjs\" } && knex migrate:make" and it works :)

  • @dylancunningham4308
    @dylancunningham4308 9 หลายเดือนก่อน

    Very concise tutorial! Thanks for that. I did have an issue where we started up the nextjs app with database collection. Something about `public.posts` is undefined in the postgres console. Solution for me was to run `pnpx prisma generate`.

  • @Null-ky4gx
    @Null-ky4gx 4 หลายเดือนก่อน

    hi what theme you use?

  • @myrez_
    @myrez_ ปีที่แล้ว

    11:44 When I try to run this command, i get
    'TS_NODE_COMPILER_OPTIONS' not recognized as an internal or external command, operable program or batch file

    • @kevinwwwade
      @kevinwwwade  11 หลายเดือนก่อน

      Hmmm... sounds like you are on Windows. `TS_NODE_COMPILER_OPTIONS=...` prefixed to a command is a way to quickly set that environment variable for the life of a command on Mac/linux. Not sure off the top of my head how to do that on Windows, but maybe that gives you something to search for.

    • @milordmariusz
      @milordmariusz 11 หลายเดือนก่อน +7

      "db:migrate:make": "set TS_NODE_COMPILER_OPTIONS={ \"module\": \"commonjs\" } && knex migrate:make"

  • @jalbers3150
    @jalbers3150 ปีที่แล้ว

    excellent tutorial

    • @kevinwwwade
      @kevinwwwade  11 หลายเดือนก่อน

      Thank you! ☺️