Python Full Stack App: Next.js 14, Flask, PostgreSQL, Docker

Поделиться
HTML-код
  • Опубликовано: 20 ноя 2024

Комментарии • 38

  • @ChenKangChiu
    @ChenKangChiu 18 дней назад +1

    This is very helpful for me as I'm just starting to learn Python and Next.js. Thank you.

  • @abbylynn8872
    @abbylynn8872 10 месяцев назад +3

    Today's live was great.
    Thank you for the membership❤

  • @coff3andprograming
    @coff3andprograming 7 месяцев назад +2

    Lastimosamente tuve un error en la db 😢, pero me alegro haber podido tener un nuevo stack por practicar 😮

    • @francescociulla
      @francescociulla  7 месяцев назад

      what error? did you try to copy the repo?

  • @mattmccredy3530
    @mattmccredy3530 7 месяцев назад +2

    Hi Francesco - this is an extremely helpful tutorial!
    I just have one question - why no virtual environment? I'm used to creating one for each python project I build.
    Again, excellent job, especially with using Docker and walking us through the service(s) setup!

    • @francescociulla
      @francescociulla  7 месяцев назад +1

      thanks you. I replied here twitter.com/FrancescoCiull4/status/1783600809265008851

    • @adityajoshi5
      @adityajoshi5 6 месяцев назад +3

      I guess he's going to use containers so shouldn't matter

    • @francescociulla
      @francescociulla  6 месяцев назад +3

      @@adityajoshi5 eaxactly that's the point, especially for simple apps, having a virtual env inside another virtual env doesn't make much sense

    • @mattmccredy3530
      @mattmccredy3530 6 месяцев назад

      @@francescociulla thank you!

  • @abhishekshukla115
    @abhishekshukla115 10 месяцев назад +2

    Loved your videos 😍❤

  • @thscho
    @thscho 5 месяцев назад +1

    GREAT TUTORIAL!

  • @ossurf
    @ossurf 10 месяцев назад +2

    Go Franky GOOOOOOO

  • @bigphido
    @bigphido 8 месяцев назад +1

    Hi, in minute 5.41, you promised we will get back to the issue when database is empty "Did not find any relations.". we just noticed 31.58 minute we now have a table. can you explain how we got the table😁

    • @francescociulla
      @francescociulla  8 месяцев назад

      line 20 on app.py, where I type something like "db.createall()"

  • @coff3andprograming
    @coff3andprograming 6 месяцев назад +2

    ¿Qué herramienta utiliza para diseñar las presentaciones?

    • @francescociulla
      @francescociulla  6 месяцев назад +1

      Da Vinci Resolve for editing and OBS to record

    • @coff3andprograming
      @coff3andprograming 6 месяцев назад +1

      @@francescociulla ¿y para mostrar la gráfica de su stack?😄

  • @irfansaeedkhan7242
    @irfansaeedkhan7242 10 месяцев назад +2

    niceee thank you

  • @404-not-found-service
    @404-not-found-service 7 месяцев назад +1

    wow thanks

  • @tiagoc9754
    @tiagoc9754 10 месяцев назад +2

    Hi, I haven't finished watching your video yet, but looks like you're creating the projects separated and making http requests from NextJS to Python API. I saw somewhere in the NextJS docs that's possible to host the Flask API inside the Next "/api" directory, then we can map the requests in the next config file for the api to the Flask port.
    I'm trying to do that but I'm really newbie in Python and docker compose. And I'm unable to make the connection to flask container to work. I have my nextjs app running on port 3000 and the flask api on port 5000. When I try to make the http request, it can't find flask-app:5000
    Do you have any examples using this approach?
    I'm still going to take some time and try making it work

    • @francescociulla
      @francescociulla  10 месяцев назад +1

      interesting approach. MY main goal is to show how to dockerie the flask app and connect it to a postgres db, so although I like Next,js, I dont' want to be dependant by it

  • @programacaocomramon
    @programacaocomramon 9 месяцев назад +1

    Voglio creare una versione in portoghese di questo tutorial.

    • @francescociulla
      @francescociulla  9 месяцев назад

      ok! just give credit and tag the channel, adding a link

    • @programacaocomramon
      @programacaocomramon 9 месяцев назад +1

      @@francescociulla Of course, thank you!

    • @francescociulla
      @francescociulla  9 месяцев назад

      @@programacaocomramon good luck! are you just recording it yourself or using some ai tools?

    • @programacaocomramon
      @programacaocomramon 9 месяцев назад +1

      I'll record it myself and use your code as a starting point, but I'll adapt it to Portuguese, like variable naming and such

    • @francescociulla
      @francescociulla  9 месяцев назад

      @@programacaocomramon got it! You never know on this crazy AI era! 😂

  • @pripri-h4d
    @pripri-h4d 10 месяцев назад +2

    each time i use postman for a request after dockerizing the project i get ,400 bad request ,i don't know why

    • @francescociulla
      @francescociulla  10 месяцев назад

      Only after dockerizing or even before? Check the url and be sure there are no other processes running on those ports

    • @pripri-h4d
      @pripri-h4d 10 месяцев назад

      thanks for quickly answering me.Actually it's doing it in this project, as well as in your go full stack project even before dockerizing it @@francescociulla