Ask HN: Go-to web stack today?
- On the frontend, use React with TypeScript.<p>Create React App now makes it dead easy. Just do:<p><pre><code>    npx create-react-app myapp --typescript
</code></pre>
- Do not use redux until you know React well. You might not need it. If you do need it, use `redux-starter-kit` offered by the core Redux team.<p>- For backend, just use Django (or Rails). Elixir's Phoenix is also very well thought out.<p>- If you use node: express, sequelize. Async/await has made things much easier on the node side though. Express doesn't still have async support by default, but there are middlewares and native support is coming with express v5.<p>- Use relational databases (postgres) by default.<p>- For authentication on the web, just use cookies (Do not use jwt). Put nginx in front of django and your static files (react etc) from the same domain so that you do not have to use CORS, JWT etc etc. So, an easy choice is myapp.com/static serves your React bundle while the cookies are on myapp.com<p>Some tooling tips:<p>- Use VS Code if using JS<p>- Use prettier (for js, css, html, and relevant VS Code extension) and black (Python) for automated code formatting<p>- Use jest and VS Code's jest extension (Orta's) for automated tests within the editor<p>- For deployment, I roll my own, but zeit's offerings are exciting.<p>- codesandbox.io, repl.it etc are amazing for testing out various stuff without downloading stuff. You can get a React/Angular/whatever environment within seconds that will give you a public url for your app.<p>- json-server in npm will get you a mock REST API with GET/POST/etc support within seconds from a json file.