1
7 Comments

Day 4 of #buildinpublic | Python or NodeJS for backend?

Hi Indie Hackers, today I worked on finishing the sign up form and started working on the leaderboard section which is a list where it will show people with the highest 'SleepStreak' - users that consecutively went to sleep before their set goal.

As the front-end designing part is almost to the end. I was wondering whether to use Python or NodeJS for the backend of my project. I have backend experience with both (a bit more with Python), what do you use for your projects backend?

🌟SleepOrPay🌟
Site: https://sleeporpay.com
Twitter: https://twitter.com/sleeporpay

(my twitter if you want to drop a follow https://twitter.com/HarmanSxndhu 🙂)

on August 18, 2022
  1. 4

    I'll be frank with you, Harman. You need to choose the most comfortable language and move 120% forward.

    It doesn't matter if it's NodeJS or Python. Choose what you're comfortable with, and get going. (Unless you rely heavily on ML or work with huge datasets, go with Python). 🚀

    1. 2

      Yeah agreed, just whatever you feel like. It's unlikely to matter in the near term. I like to pick technologies I know, or whatever is most used. You don't want to get into a situation where you have one million lines of CoffeeScript to support.

  2. 3

    I use golang. I have developed nodejs phobia after seeing so many reports of security holes or project owners deciding to pull their project out of the rug or doing outright harmful things in their projects to advance some agenda(other than technical) so i don't recommend it if there is a choice and by nodejs imean overall ecosystem not the nodejs runtime.

  3. 2

    I just want to share my opinion here too. Like others already suggested it is up to you which language you prefer. However keep in mind that more languages and environments make it harder to maintain the project (it costs money!!!). My suggestion would be to use NodeJS or more specifically the API Routes in NextJS (which you are already using, right?) in combination with something like Airtable/Baserow or a simple SQLite database.

    Whatsoever, looking forward to the final product :)

    1. 1

      Agree, building API in NextJS is super convenient. Just deploy one app. Share types (if you are using Typescript, which you should), simplify API with tRPC, blitzjs or other similar libraries.

  4. 1

    Indie hacking is about moving fast and validating your ideas.

    The tech doesn't really matter. I built my last app in 30 days using this idea as a core principle.

  5. -1

    This comment has been voted down. Click to show.