1) Gives you the ability to write a frontend and backend with good flexibility preferably React & Node.
2) Doesn't require a local environment, but still allows me to work on VS Code.
3) Allows me to have a live URL and connect a custom domain.
4) Batteries included, but most importantly a solid and easy to implement authentication paradigm.
What's the best thing right now for this. I'm just looking for a very low or zero-config infra and fast time to production.
I see many options like Vercel, Replit, Render, etc, but I just want to understand if there's a solution or stack that maximizes for efficiency, speed and low configuration, while allowing to scale up if needed.
It's unsexy, boring. It's not going to decorate your resume like Js frameworks.
But it will work.
PHP has the most mature tooling for web development.
Js frameworks tend to rot
Try yii framework. It's old boring which is good.
When I was a young developer, I didn’t wanna have anything to do with PHP because hacker news, painted it under a bad light, but it turned out that sometimes people just wanna be different for the sake of being different.when I was a young developer, I didn’t wanna have anything to do with PHP because hacker news, painted it under a bad light, but it turned out that sometimes people just wanna be different for the sake of being different
You can deploy a template into production as simple as:
1) npx create-t3-app
2) Create Vercel account linked to your GitHub
3) Set your git remote and 'git commit && git push'
Then for DB:
4) Sign up and push button to create MySQL DB on Planetscale
5) Copy two env vars to .env
6) npx prisma db push
Then, a full stack UI can be as simple as creating a React Server Component that fetches your DB data and displays UI a la:
async function getDataFromDb() {
const data: Data[] = await prisma.data.findMany();
return data;
}export default async function DataPage() {
const dbData = await getDataFromDb();
return (
{dbData.map((dataParam) => )}
);
}
If you want a simple app served on a single host you can try LiteStack [0] so you don't need a Redis/Postgres/Sidekiq instance, just SQLite.
Laravel is also good if you like PHP language.
A full-stack Rails-inspired framework that makes use of DSLs, code generators, db migrations and has validations that work from the db, through to the forms in frontend templates are the table stakes for rapid prototyping. Rails itself, Phoenix or Laravel are the options I’d consider. All three have great communities and a history of success getting more done with fewer devs than would be possible with separated front and back-end JS SPAs.
What’s your goal?
If as you mention you have an app to prototype and you want that prototype as fast and simple as possible, then you can’t use tech and tooling you don’t know.
Any time spent learning the new tech, is time you could have spent on the prototype.
With that lens, you can see the variety of suggestions here are what people know best.
If you goal is to learn a new tool, or to learn a new tool alongside a prototype, you have to trade off speed. It will take a bit longer.
Spend your novelty tokens wisely.
I'm still unsure about what 'serverless' database is optimal (cockroachdb, neondb, planetscale, mongodb) so I went with what my last profitable side project used - mongodb.
At some point I'd like to compare the performance of psql jsonb to mongodb, I've watched some talks a few years ago stating that psql with jsonb outperforms mongodb. I wonder if that's still the case in 2023.
I've experimented with golang before as I wanted something easier to scale than node + minimal dependencies but then I realized I am just writing my own web framework so I settled on Hapijs, it's faster than express and has less dependencies, it was/is run in prod at Walmart.
https://github.com/mcapodici/firestarter
1. Check
2. Check: I started using github spaces developing this
3. Check
4. Uses Firebase, trading off open sourceness for convenience
If nocode is out of the question then I don't know because it all looks like a convoluted mess to me. I'm actually going to watch this thread with interest to see what others suggest. I'm on a somewhat similar quest at the moment.
Not sure about Render, but the others you mention do not appear to be wholistic. They either focus on the frontend exclusively, or are intended for development, not production use cases.
What about your data layer? You need something that provides that and my guess is that will drive your decision about what platform you choose more than anything else. That, and cost.
That is, a fat client with the server only serving up static content.
Elixir Phoenix framework
For fp haskell purists
Haskell warp yesod servant