News for hackers. Stuff that matters.
Re:Ask HN: What's the quickest method/framework to set up a ... by Helmut10001 on Wednesday July 14, 2021 @11:28PM (#27841101)
I hear you because I needed the same, with absolutely no experience in web apps. Please listen to other comments first. If this does not help: I used github.com/tiangolo/full-stack-fastapi-postgresql - it is a Docker-Stack that can be deployed through Gitlab CI on Docker Swarm. Not that I had any experience in these systems - but it directly worked and I had a Progressive Web App (PWA) with CRUD, SSL certs, Queue, Reverse Proxy and everything with it in one day. This thing still runs after 2 years.
Re:Ask HN: What's the quickest method/framework to set up a ... by culopatin on Thursday July 15, 2021 @10:51AM (#27845443)
I may have to look into this. I was already feeling pretty good that I was able to send http requests to my app. But I guess this solves the “how to connect this to the world” side of it? I haven’t looked at it but I assume you still add your logic right?
Re:Ask HN: What's the quickest method/framework to set up a ... by Helmut10001 on Thursday July 15, 2021 @11:19AM (#27845766)
Yes, for the actual CRUD there exists a template, but _what_ you want to create, read, update and delete must be defined first (e.g. text and images). You would need to add display-syntax, too - to present what is read to users.

If you just need to display text+image posts, have you thought about a static site generator? E.g. Hugo, Mkdocs, Jekyll.. you can hook these up through Gitlab/Github Continuous Integration and have it automatically serve site updates on new git commits.

Re:Ask HN: What's the quickest method/framework to set up a ... by culopatin on Thursday July 15, 2021 @11:50AM (#27846139)
Im not OP. I’m building a searchable library of DNA similar to genbank. I do need to store text and images but not in a blog way
Re:Ask HN: What's the quickest method/framework to set up a ... by Helmut10001 on Friday July 16, 2021 @01:52AM (#27853373)
There are many themes. Mkdocs material is a static site generator that is very flexible, more oriented towards tech documentation. Most Jekyll/Hugo themes are for blogs, but it is not limited to this. It can be combined with search. If it requires a database, however, a static site generator appears the wrong direction..
Re:Ask HN: What's the quickest method/framework to set up a ... by leerob on Friday July 16, 2021 @05:02PM (#27861189)
If you're familiar with Rails, stick with what you know. Often that will be faster than learning a new tool. If you want to diverge and learn something new, you can deploy a full stack application using React/Next.js on the front end and MySQL/PostgreSQL on the backend is a few minutes using Vercel.

https://vercel.com/integrations/planetscale

https://vercel.com/integrations/supabase

Re:Ask HN: What's the quickest method/framework to set up a ... by mrsmee89 on Saturday July 17, 2021 @02:09AM (#27863864)
This is super cool! thanks for sharing!
Re:Ask HN: What's the quickest method/framework to set up a ... by saluki on Sunday July 18, 2021 @08:01PM (#27877856)
The quickest is what you know.

I always recommend Rails or Laravel.

Both are very similar.

I think Laravel has the better community, better packages(gems) now, and is faster to learn, get up to speed.

Check out Laracasts.com.

Also check out forge.laravel.com it's an app for spinning up and deploying to servers.

And there is valet for local development.

Amazing ecosystem and community.

Good luck with your app.

Re:Ask HN: What's the quickest method/framework to set up a ... by mrsmee89 on Tuesday July 20, 2021 @10:08PM (#27901551)
This is super helpful. thank you
Re:Ask HN: What's the quickest method/framework to set up a ... by kalenpw on Thursday July 15, 2021 @01:12AM (#27841587)
I would say Django, but I also haven't used Rails. I second the fastest framework is the one you're most familiar with.
Re:Ask HN: What's the quickest method/framework to set up a ... by foxbee on Saturday July 17, 2021 @12:42PM (#27866983)
I would definitely go with Budibase.

You could build a responsive CRUD app in a few minutes.

They also support a number of data sources (PG, MySql, Mongo, Couch) and have their own DB.

Also, they're open source: https://github.com/Budibase/budibase

Re:Ask HN: What's the quickest method/framework to set up a ... by bobberkarl on Thursday July 15, 2021 @12:01PM (#27846249)
Postgres + Hasura GraphQl backend. This is magic. My prototyping went from 3 days to 1.
Re:Ask HN: What's the quickest method/framework to set up a ... by santa_boy on Saturday July 17, 2021 @12:09PM (#27866759)
check out the below no-code tools. super easy to create the functionality you've described

- https://saltcorn.com/

- https://www.budibase.com/

Re:Ask HN: What's the quickest method/framework to set up a ... by modinfo on Friday July 16, 2021 @03:19PM (#27860136)
I recommend you Blitz.js written in React and Next.js for this purpose, there is even user registration and login ready, so you don't have to worry about that. Blitz.js is a Fullstack Freamwork inspired by Ruby on Rails.

https://blitzjs.com

New Blitz apps come with all the boring stuff already set up for you! Like ESLint, Prettier, Jest, user sign up, log in, and password reset.

Re:Ask HN: What's the quickest method/framework to set up a ... by midrus on Saturday July 17, 2021 @05:02AM (#27864511)
I love JavaScript and it is what I do full time, but I think still *nothing* beats Rails or Django for this.

The problem with Blitz, and similar frameworks is that they are not stable enough, in the sense that being attached to the node ecosystem means whatever you build today will be outdated by next year.

I find nowadays Rails with all the hotwire stuff or Django and something like Unpoly is unbeatable regarding productivity for standard CRUD apps.

Re:Ask HN: What's the quickest method/framework to set up a ... by dataminded on Wednesday July 14, 2021 @11:06PM (#27841004)
The fastest is the framework you already know.

If you don't know any frameworks, no code away.

Re:Ask HN: What's the quickest method/framework to set up a ... by PZ81JUXJE7uJ on Saturday July 17, 2021 @06:50AM (#27864918)
Re:Ask HN: What's the quickest method/framework to set up a ... by muzani on Thursday July 15, 2021 @06:33AM (#27843252)
Bubble is pretty good at it. You can't migrate authenticated users from it because of how password hashing works, but other data is fine.
Re:Ask HN: What's the quickest method/framework to set up a ... by mikewarot on Thursday July 15, 2021 @09:33PM (#27852177)
It is interesting to note that all the replies (so far) are for web based applications. We seem to have given up on the desktop.
Re:Ask HN: What's the quickest method/framework to set up a ... by pjerem on Saturday July 17, 2021 @02:15AM (#27863881)
The op is asking for a CRUD app where users could post/read text & picture.

I, too, miss great desktop apps, but in this precise scenario, what would be the point of making one ?

Re:Ask HN: What's the quickest method/framework to set up a ... by LifeIsBio on Wednesday July 14, 2021 @11:01PM (#27840984)
Rails is definitely too low level. Look into no- or low- code solutions.
Re:Ask HN: What's the quickest method/framework to set up a ... by speedgoose on Thursday July 15, 2021 @03:32AM (#27842258)
Finding the right no-code solution will take more time than doing everything in Rails though.
Re:Ask HN: What's the quickest method/framework to set up a ... by cpach on Friday July 16, 2021 @04:53AM (#27854259)
Haven’t tried Flask yet but it looks interesting.
Re:Ask HN: What's the quickest method/framework to set up a ... by paulcole on Thursday July 15, 2021 @01:35AM (#27841726)
How is this different from a WordPress blog?