Live data from Hacker News

Ask HN: Easiest way to build a CRUD app?

news.ycombinator.com

1–10 of 239 posts

Ask HN: Easiest way to build a CRUD app?

#1
Ideally, there would be no:

>multiple programming/scripting languages to learn

>external dependencies: packages, api's, services, saas

Should be simple and resilient, can last for a long time.

Doesn't require a lot of maintenance, large multiskilled teams, or dependency on services or API's that have a tendency to deprecate or disappear. Something which is not easy to compromise or hack.

Is it a stupid question? The closest I can think of is a static site generator with some kind of self-hosted database but I'm not aware of any.

Thanks

Re: Ask HN: Easiest way to build a CRUD app?

#2
.NET, razor pages, sqlite, entity framework.

Its hard to build anything non-trivial with a gui without involving a few languages these days.

You can package your .NET server as completely self contained and run it on anything, just need a web browser.

Edit: python might get you close with a simple html framework.

Re: Ask HN: Easiest way to build a CRUD app?

#3
How many people will use it and how will it be used? What is the app exactly going to do?

Whe first thing that comes to mind i Notion, which is a true no-code alternative if you want to build internal CRUD apps.

The next step would be to use a managed backend and a no-code frontend. For backend you can use services like Firebase [1], Nhost [2], or Supabase [3].

For frontend you can use something like Retool [4].

[1] https://firebase.com/

[2] https://nhost.io/ - Discloser: I'm the co-founder of Nhost

[3] https://supabase.com/

[4] https://retool.com/

Re: Ask HN: Easiest way to build a CRUD app?

#4
It certainly depends on what's your definition of "easy".

If you're coming with no experience in programming at all, nothing will be easy. There might be tools which focus on one programming language, but they would abstract away too much details of how web based apps work in general to really understand what you're doing.

If you have some experience in a programming language or coming from just another field than web development, I'd suggest you go with a web framework which is commonly used in your programming language's universe. That might be Django for Python, ASP.NET for C#, etc.

Then, there are many lowcode/nocode tools which gives quick results. I have used Anvil in a tutorial to build a Twitter Dashboard: https://bas.codes/posts/python-anvil-twitter-stats

Your idea with the static site generators could also work. Keep in mind that you're going to create mostly frontend code when using this approach. That involves JS and npm – so you might go deep into the rabbit holes of front end web development, which can be huge. However, if that's what you want, I'd suggest using NextJS over Gatsby since I'd consider it easier to setup for beginners. Using a non-JS static site gen would contradict your "no multiple languages" requirement ;)

Post reply on HN