6 ms·
Ask HN: Easiest way to create a CRUD web app in 2024?
Is there a framework or solution that enables to create simple CRUD apps without a lot of duplicated development both on the back-end and front-end sides?
Something that can generate a functioning app based on just a model, or similar?
- rozenmd 3y agoNot that I use it, but that sounds like the promise of Ruby on Rails?
- t312227 3y agoafaik ... without using a search engine - so i cant say "lmgt4u" - the following ones come to my mind: * python with for example django * php with for example laravel * ruby with rails (2nd this ... not that i ever used it ;) * java with for example spring-boot * javascript/node.js with some crappy lib i can't remember right now * ... just my 0.02€
- samuell 3y agoYeah, I guess I thought there might be some revolutionary new framework that simplifies it beyond these frameworks. I have been playing with Django, and seen some Laravel code, and it is Ok, but still quite the effort to get something simple up
- MatthiasPortzel 3y agoI’ve used Django, Next.js, and Ruby on Rails for CRUD apps recently (in 2023). If you want to minimize time spent writing boilerplate, Rails is still your best bet.
- samuell 3y agoGreat to know! I have liked Django in many ways when playing with it, but it is quite the boilerplate to write. Feels like you basically repeat yourself three times, with the MVC split setup. Feels like some of that should be possible to auto-generate, at least with defaults.
- vhcr 3y agoThe one you have the most experience with.
- emdashcomma 3y agoYou might find PostgREST (https://postgrest.org/en/stable/ https://postgrest.org/en/stable/) interesting. The 'Tutorial 0' gets right to the point with what you can do: https://postgrest.org/en/stable/tutorials/tut0.html https://postgrest.org/en/stable/tutorials/tut0.html
- vasili111 3y agoI have heard about Appsmith but never used it myself. Anybody have used Appsmith for this purpose and can share personal experience?
- speedgoose 3y agoIt’s fine for quick prototyping and internal applications.
- vasili111 3y agoWhat you do not like in it? Can you suggest better alternatives?
- speedgoose 3y agoI haven’t used it for a while as I stopped using low code tools since ChatGPT’s release, but I remember: - the final application is a bit slow to load, there is a lot of code. - it uses mongodb internally. I don’t like having mongodb on my stacks. - the docker and kubernetes deployments were not following best practices. They ran everything, even mongodb and redis, in a stateful container with a process manager inside the container. - version controlling the apps wasn’t trivial. - some features weren’t open source so I had to quickly hack them again. I found retool, proprietary, to be better if you can afford it.
- mgummelt 3y agoHow do you use ChatGPT to write CRUD apps? Do you mean Github Copilot?
- speedgoose 3y agoI use them both. I use ChatGPT to do the big parts like the SQL schema and some boilerplate. It works better in Python with fastAPI than Rust with Axum though.
- foxbee 3y agoBudibase is great at generating CRUD apps based on a model. https://budibase.com/ https://budibase.com/
- atmosx 3y agoRails features Turbo, background jobs libraries, mailers, etc. It's like 90% of what you need is _already there_ you just have to use it.
- jon_adler 3y agoHave you considered Power Apps model-driven apps[1]? You may not be interested in a PaaS solution however it is very easy to create a CRUD app from a model! [1] https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/model-driven-app-overview https://learn.microsoft.com/en-us/power-apps/maker/model-dri...
- mgummelt 3y agoIt depends what you mean by CRUD app. Strictly speaking, the answer to your question is Airtable.
- Two4 3y agoI've used bootify to good effect: https://bootify.io/frontend/spring-boot-crud-generator.html https://bootify.io/frontend/spring-boot-crud-generator.html
- BerislavLopac 3y agoSandman: https://sandman2.readthedocs.io/en/latest/ https://sandman2.readthedocs.io/en/latest/
- samsin 3y agoHave you looked at .NET MVC with Blazor? It might be overkill for your needs, but the templates give you a good starting point to avoid the usual boilerplate.
- tomcam 3y agoPy4web
- austin-cheney 3y agoI have some prebuilt tools in vanilla JavaScript. I just copy/paste what I need from my tools and use WebSockets. I can be up within 90 minutes with everything tested and have a large web app that fully loads around 800ms cold and as fast as 130ms in Chrome. Then the next day is content, database (optional), and finally event test automation in the browser.
- bindd 3y agoPlatformatic (https://platformatic.dev https://platformatic.dev) deserves a mention here!:)
- ozmennico 3y agoThere is a React meta-framework named Refine for building CRUD apps like internal tools, admin panels etc. However it's only for frontend. Check out the CRUD app templates with source codes. https://refine.dev/templates/ https://refine.dev/templates/
- ttymck 3y agoDjango and its built in admin panel is still so impressive to me. Adding react admin would be a logical extension of that for a more flexible frontend.
- bnchrch 3y ago1000% Hasura https://hasura.io/ https://hasura.io/
- adius 3y agoWe're trying to build this with https://www.airsequel.com https://www.airsequel.com. So far it generates the whole backend from the SQLite database schema and we'll include an automatic webapp generator soon.
- tristenharr 3y agoHi! 100% Hasura is what you need! This is our calling card, I work for Hasura and if you need instant CRUD on your database, new or existing you can’t go wrong with Hasura. It’s kind of like PostGrest with GraphQL. It does exactly what you want, you have a database with models and it gives you endpoints for CRUD in GraphQL and you can RESTify any GraphQL to make it into a REST endpoint as well. It does it by introspecting the database then generating a schema, and the OSS GraphQL-engine that runs Hasura compiles the GraphQL directly to SQL.