5 ms·
Ask HN: What's the quickest method/framework to set up a basic CRUD app?
All I need is users, ability to create text+image posts. Is it still rails?
- bobberkarl 5y agoPostgres + Hasura GraphQl backend. This is magic. My prototyping went from 3 days to 1.
- mikewarot 5y agoIt is interesting to note that all the replies (so far) are for web based applications. We seem to have given up on the desktop.
- pjerem 5y agoThe 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 ?
- cpach 5y agoHaven’t tried Flask yet but it looks interesting.
- modinfo 5y agoI 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 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.
- midrus 5y agoI 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.
- leerob 5y agoIf 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/planetscale https://vercel.com/integrations/supabase https://vercel.com/integrations/supabase
- mrsmee89 5y agoThis is super cool! thanks for sharing!
- PZ81JUXJE7uJ 5y agohttps://octobercms.com/plugin/rainlab-builder https://octobercms.com/plugin/rainlab-builder
- santa_boy 5y agocheck out the below no-code tools. super easy to create the functionality you've described - https://saltcorn.com/ https://saltcorn.com/ - https://www.budibase.com/ https://www.budibase.com/
- foxbee 5y agoI 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 https://github.com/Budibase/budibase
- saluki 5y agoThe 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.
- mrsmee89 5y agoThis is super helpful. thank you
- LifeIsBio 5y agoRails is definitely too low level. Look into no- or low- code solutions.
- speedgoose 5y agoFinding the right no-code solution will take more time than doing everything in Rails though.
- dataminded 5y agoThe fastest is the framework you already know. If you don't know any frameworks, no code away.
- Helmut10001 5y agoI 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.
- culopatin 5y agoI 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?
- Helmut10001 5y agoYes, 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.
- culopatin 5y agoIm 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
- Helmut10001 5y agoThere 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..
- kalenpw 5y agoI would say Django, but I also haven't used Rails. I second the fastest framework is the one you're most familiar with.
- paulcole 5y agoHow is this different from a WordPress blog?
- muzani 5y agoBubble is pretty good at it. You can't migrate authenticated users from it because of how password hashing works, but other data is fine.