I am running a poll on Producthunt. Please share your opinion on
You can comment here, if you don't have a Producthunt account.
If you are using, are you happy with the Express framework ecosystem? I am working on a NodeJs framework for my own personal use and this is a short survey to see if I should Open Source it.
I have used node.js for work for the last 6 years - with Postgres, mongoDB, and CouchDB. As for node frameworks - I have used express and Loopback. Loopback can be overkill, depending on the app. Otherwise, I have found Express to be sufficient and flexible. With that said, I did at one point also find myself needing something with more structure to be able to whip up quick MVPs and/or prototypes, and given that I was repeating the patterns, I ended up making my own little boilerplate.
Thank you. I am also having issues with boilerplate codes and started working on a framework for myself, that is fast and have all these boilerplates inbuilt, so that I can quickly create prototypes.
Learned about AdonisJs after running this poll. But my benchmark shows it is able to handle only 2000+ req/s on my machine, whereas express was able to clock in 16000+ req/s for printing a hello world after flowing through same middleware pipes.
So AdonisJs is not an option. But I really like it for the simplicity.
Pretty happy, Node.js, Express and Postgres for Portabella.
I'm currently hosting on a Netlify function and I've just wrapped it all with serverless-http.
Going to move to some VMs soon though I think
Do you mind me asking how you are interacting with your postgresql database?
Are you using some orm?
No orm, just node-pg or whatever the library is called.
Have used sequelize and Knex before but they always end up being a pain to use. Portabella is still less than 10 tables so happy to do things manually
Cool!
You can use objection.js - it’s very minimal (built on top of knex) and can give a lightweight ORM approach. That is, if you ever consider moving to using ORM but find sequelize cumbersome
Thank you! Good to hear.
I've used Node.js + Express for previous projects and for my current application and it's worked great. Once set up, it's quite easy to use npm packages, add endpoints, and customize security.
That being said, my only experience with backend development has been with this stack, so I'm not sure how it compares with others.
Thank you for the feedback. I felt I have to add a lot of external packages to make a fully viable product out of Express. So just asking how everyone else felt about it.
That's actually what I like about libraries/frameworks like React and Express. They are quite minimal and you just pull in packages as needed. That way, your app is performant and isn't weighed down by any unnecessary packages.
I am using React so I am using some NodeJs to some degree. Are you asking about Node js or Express or just Express in general?
I am also using next.js which I believe under the hood it serves the server side rendered React app through Express. So I might be actually be using it, but idk if that's what your question aims at.
I meant to ask NodeJS server frameworks in general. Thank you for your input.
Been using Node.js + express at work for the past 3 years so I'm sticking with what I have experience with for my own project.
Typically using joi for schema validation but interested in trying Zod as I always use TypeScript these days.
I find it very productive.
Yeah, happy to hear people are adopting Typescript. I am an old school Java guy, so types are like oxygen for me😉
This comment was deleted 5 years ago.