How to Connect SQLite to Your Web Application

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

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

  • @Sara-o6h7t
    @Sara-o6h7t 4 หลายเดือนก่อน

    what would you need to do to be able to deploy this app so that is still updates the database file but it can be accessed from any device with a url? i'm a student working on a very similar project with SQLite, python and Html and it works great when i test it locally but i need to be able to access it from multiple devices and when i deploy it on free hosting platform like Render, none of my changes actually update in the database... i'm assuming that is because i am using free instances that spin down with inactivity and therefore loose all the data generated during that instance but would there be a way to connect the database to a cloud and save changes that way without having to pay anything extra?

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

      There are very few free deployment options out there. My recommendation would be to try out Heroku. Instead of using SQLite, you will probably have to switch to a Postgres or MySQL Database. But these are hosted by Heroku which will prevent data loss. You may still need to pay for Heroku, but it will likely be on the cheaper side and it works really well for flask and Django applications.
      On that note, SQLite is best for local applications and testing.

  • @shakojohnny
    @shakojohnny 2 ปีที่แล้ว

    Thanks for the tutorial.

    • @shakojohnny
      @shakojohnny 2 ปีที่แล้ว

      Do you have a link for the source code?

  • @stewartfox1342
    @stewartfox1342 7 หลายเดือนก่อน

    Hi, is there any chance you could share the code with me? Working on a project similar to this.

    • @SQLPro1
      @SQLPro1  7 หลายเดือนก่อน

      Hey! It’s been a while since this video was recorded. I’ve since deleted the code. Would have probably been a good idea to keep it 😅

    • @stewartfox1342
      @stewartfox1342 7 หลายเดือนก่อน

      @@SQLPro1 Aww no bother, thanks anyway.

  • @ADITYACHAUDHARY-gs4pk
    @ADITYACHAUDHARY-gs4pk ปีที่แล้ว

    Bro a beginner won't be able to understand anything

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

      Hi Aditya, thank you for taking the time to comment on the video. It is a little bit more of an advanced concept. I personally could have made the video simpler, but if anyone at the beginner level has questions, I’m happy to answer.

    • @ADITYACHAUDHARY-gs4pk
      @ADITYACHAUDHARY-gs4pk ปีที่แล้ว

      @@SQLPro1 I understand your point completely , not an issue ...