Ask HN: What language/framework for simple web app in 2023?
I want to create a web app that we will use internally; it would allow people in a meeting to go to a web page, enter their name, and then have a button for “hand up” or “hand down” and an indicator of whether their hand is up or down presently; the chair of the meeting would have an admin view that simply shows a list in order of who raised their hand first, and the ability to lower someone’s hand.
(Yes just like in MS Teams or in Zoom)
Any suggestions for the simplest/least-friction language/framework to get started?
This is partly a toy problem to get me into web app coding but partly something we might actually use.
I’ve never coded a web app before but I know C/MATLAB/Python/R in the scientific computing context and I used to know Objective-C in the old Mac system.
Emphasis on simple, non-bloated, approaches. I come from the tradition of coding in C with little or no dependencies.
Non-snarky suggestions welcome! Thanks!
11 comments
[ 3.4 ms ] story [ 37.8 ms ] threadFor frontend, I think you'll really enjoy Elm if you like R and Python. Personally, I use vanilla JS (no framework) for small projects and Elm for large projects.
For backend, there are plenty of excellent REST API frameworks for Rust, Go, Deno, Elixir, etc. I can give specific language recommendations if you're interested.
[1] https://elm-lang.org
[2] http://vanilla-js.com
https://github.com/gdotdesign/elm-github-install/issues/62
Elm is alive and well!
Elm 0.19 isn't under "active" development because it's feature-complete for now and stable as h*ck. The core team is working on "exploratory work" in private.
I also think the core team is currently focusing on setting up "Elm Studio" for hosting and a new "Elm Foundation".
[1] Roadmap: https://github.com/elm/compiler/blob/master/roadmap.md
[2] State of Elm 2022: https://www.youtube.com/watch?v=Vexdf-Rd-AE
And apps script is pretty much just Javascript.
And users are familiar with Google Sheets already.
I'd probably go with a static site with a realtime backend (Supabase/Firebase or Hasura).
Otherwise, Flask with python and Typescript(It's a superset of javascript, that has types and a few other things, it's the future, and alot easier to program and get compiler hints).
Sveltekit is the easiest framework to learn so I'd suggest you start from there.