I'm surprised nobody has mentioned https://redwoodjs.com Here's why I'd pick it: 1. One language for the whole stack. It's an MVP so the front and back are both changing fast, with changes made by the same person, and you don't want to context switch all the time. 1a. Javascript as that language because it's the most flexible. And with TypeScript you can gradually opt into type constraints where they help you. 2. An…
I've never been much a fan of Node for backends though. There's no framework that's as feature packed as, for example, Laravel on PHP. And you have to worry about leaking state/memory across requests.
Ask HN: What would be your stack if you are building an MVP today?
531–540 of 736 posts
Re: Ask HN: What would be your stack if you are building an MVP today?
#532After working with the PETAL (Phoenix, Elixir, TailwindCSS, Alpine.Js, Liveview) stack at $JOB for a while now, I have to say I've never been more productive. Early on I would still have to lean on Alpine heavily for various JS interactions but with all the features Liveview has been adding and improving on (Hello JS module!) I find myself needing it less and less. Liveview really has been a game changer for me. Tail…
I second this. I would say that I am pretty advanced with Python (and Django) and same with JavaScript (Vue and Nuxt) and have written applications that got used by multiple users. I saw a sharp rise in my productivity when I knew enough about the frameworks. But Elixir + PhoenixLiveView + Tailwind has been life changing. I learned Elixir for the sake of the joy of learning a new programming language and I kept playi…
Question for you and OP, do you find that using languages like Elixir makes it so you have to look for a certain kind of dev given that Elixir is a pretty niche community or are folks with no experience able to adapt with relative ease?
Re: Ask HN: What would be your stack if you are building an MVP today?
#533Laravel because I want to focus on building
Re: Ask HN: What would be your stack if you are building an MVP today?
#534Re: Ask HN: What would be your stack if you are building an MVP today?
#535Re: Ask HN: What would be your stack if you are building an MVP today?
#536HTML, css, js, (maybe jquery and font-awesome if I want to get fancy) and all static files dumped in an S3 bucket for as long as I can get away with it, then django if I need anything more. Not that I think python/django is the "best", but it is what I know and it's got all the batteries included out of the box. I've never made a sufficiently advanced UI that required react/vue/etc. So I still just stick with html/cs…
Instead of an S3 bucket you can use GitHub Pages. You push stuff to the upstream git repo and it gets deployed. It’s free (you have to pay for GitHub Pro if you don’t want to make the source code publicly available) and comes with Fastly CDN if I recall correctly. You just have to configure your custom domain.
my update.yml:
name: Update Website
on:
push:
branches:
- production
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: jakejarvis/s3-sync-action@master
with:
args:
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'myregion'
SOURCE_DIR: 'mydir'Re: Ask HN: What would be your stack if you are building an MVP today?
#537Re: Ask HN: What would be your stack if you are building an MVP today?
#538Re: Ask HN: What would be your stack if you are building an MVP today?
#539Reasoning is pretty straight forward: I know it quite well and it's easy to grok and hire for them. Good tooling and ecosystem around it. Are there better languages out there? Sure, but Python has the advantage of being wired into so many different business and scientific domains its impossible to paint yourself into a corner.