Show HN: Server.js – A modern Express alternative
Rather than changing express&#x27;s syntax, I would much rather have a better express boilerplate generator with an opinionated stack with good documentation&#x2F;justification.<p>I recently started learning express&#x2F;node and wasted weeks googling for blog posts for each dependency to figure out how to configure them. I guess this is somewhat valuable for end-to-end understanding but not for productivity.<p>There are a bunch dependencies I am now kind of decided on  (not for technical reasons, but because they are clear popularity contest winners) and figured out how use:<p><pre><code>    body-parser
    compression
    serve-favicon
    express-session
    csurf
    helmet
    cors
    dotenv
    moment
    selfsigned
    chalk
    debug
</code></pre>
But still a bunch that I haven&#x27;t gotten to googling and still need to decide on what to choose:<p><pre><code>    logging (morgan vs winston)
    validation (express-validator, joi)
    auth (passport jwt, local, social)
    session storage (redis vs keeping it in database?)
    database (mongo&#x2F;mongoose vs pg&#x2F;knex&#x2F;bookshelf&#x2F;sequelize, graphql)
    storage (s3 vs gcs)
    ajax requests (request vs axios)
    mail (mailgun, sendgrid, mailchimp)
    error handlers
    rate limiting
    geo ip
</code></pre>
I would be so happy if someone took away my power to choose and just forced me to use something that will &quot;just work&quot;.