2
10 Comments

Best scripting language for building a database?

What are the best scripting languages to build a database?

  1. 1

    What's your use case?
    Are you building an actual database from scratch?
    Or using an database (PostgreSQL, MySQL, etc) and just connecting to it / doing CRUD?

    1. 1

      Honestly I'm just trying to learn to build an app. Should I even start with database?

      1. 2

        I'd start with thinking about what you want to build. When you say "app" do you mean web app? mobile app? desktop app?

        Then, you can break down your requirements for whether you need a database or not.

        1. 1

          Got it! I'm thinking more of mobile app. I want to build an app that connects real estate sellers with buyers.

          1. 1

            If this is your first app (it sounds like it is), and you plan on doing everything yourself, then go smaller.

            Build a super tiny app that just displays the time.
            Then one that has a stopwatch / timer.
            Then a to-do list (saved in a local).

            Then (thinking about your long-term goal), you'll likely need a DB to store your listings, sellers, buyers, etc. So build out a web app that's strictly an API with those in the DB.
            Create another to-do list with the ability to sync the to-do list to that web app through APIs.

            At that point, you'll have a few apps under your wing, understand the basic gist, know how to coordinate between the mobile app and the web app.

            Of course, this is a very general, basic outline. There's a lot more that goes into making apps, and you'll find it's a lot of work. But it's also super rewarding and fun, so just give yourself patience and time and enjoy the process.

            1. 1

              Wow! This is so insightful! Thanks greatly for the advice!

              What would you recommend that I start in Swift? That's kind of where I was leaning.

              1. 1

                If you want to make an iOS only app, then yes, Swift is good.
                If you want to make an Android only app, then go with Kotlin.
                If you want to make an iOS + Android app, then I'd go with Flutter.
                If you want to make an iOS + Android + Web app, then I'd do the web first, and mobile later. There you could use Ruby/Rails, Python/Django, JavaScript/Next.js (React), or a million others.

                1. 1

                  Which one of those choices is best for a beginner?

                  Would niching down and building for one device be a good starting point and then branching out?

                  1. 1

                    I'd start small TBH- probably web because it's more accessible to more customers, but that's just me.

                    To be fair, the tech part is the "easy" part for what you want to do. You're wanting to build a two-sided marketplace (getting both sellers + buyers to come to your site). Getting people to use the app will bet he harder part.

                    1. 1

                      I'm taking this course on Youtube about Swift. I think it's the right one for me at the moment. I like the pace, I can understand the instructor and I don't feel like I'm getting left behind at every turn lol

Trending on Indie Hackers
How I grew a side project to 100k Unique Visitors in 7 days with 0 audience 49 comments Competing with Product Hunt: a month later 33 comments Why do you hate marketing? 29 comments My Top 20 Free Tools That I Use Everyday as an Indie Hacker 16 comments $15k revenues in <4 months as a solopreneur 14 comments Use Your Product 13 comments