Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

web-2020

> 编程语言
Open source

How I would pick tools for a full-stack application in 2020 ️️️2️⃣0️⃣2️⃣0️⃣

99 stars0 likes2 views
WebsiteGitHub

About

How I would pick tools for a full-stack application in 2020 ️️️2️⃣0️⃣2️⃣0️⃣

Below are my thoughts on how I would pick a stack for a web development in 2020. I value mature technologies, size of the community, "batteries included" and speed of the development.

I personally use VSCode editor, again because it's very popular these days which leads to lots of problems being solved in form of questions asked, plugins shipped and bugs fixed. One decent alternative is PyCharm/WebStorm.

  • Frontend
    • Frontend framework [React with Hooks]
    • Bundler config and boilerplate [Create React App]
    • CSS-in-JS library [styled-components]
    • Components library [Ant]
    • Frontend state management [React Hooks -> Redux + Redux Toolkit + Redux Thunk (+ Redux Saga)]
    • Router [React Router]
    • Code editor as a component [Monaco]
    • Mobile development [React Native]
    • Language flavor/safety [TypeScript]
    • Package managers [Yarn 1.22 or npm, npx]
    • Linters and formatters [ESLint/Prettier, Husky]
  • Backend
    • Backend framework [Django]
    • API design [Django REST Framework]
    • Authentication [?]
    • Language flavor/safety [Mypy]
    • Package managers [Pipenv]
    • Linters and formatters [Black, flake8, isort]
  • DevOps
    • Frontend deployment [Zeit Now]
    • Database [Postgres]
    • Backend deployment [DigitalOcean Docker (+Portainer) + Managed Postgres + CloudFlare]
    • Linters and formatters [ShellCheck for .sh, hadolint for Dockerfile]
    • Bonus track: Zsh tools

Frontend

Frontend framework [React with Hooks]

React or Vue?

Why switching from React (the de-facto standard and #1) if Vue has similar metrics and less ecosystem? For instance, Vue has no mainstream Monaco wrapper. Also, React Native is fun and mature.

If you haven't worked with React since React Hooks emerged, you should totally catch up on that:

  • https://nikgraf.github.io/react-hooks/
  • https://github.com/enaqx/awesome-react#react-hooks

Other things to look at:

  • https://github.com/welldone-software/why-did-you-render

Bundler config and boilerplate [Create React App]

Webpack? Parcel? Create React App? Next.js? Gatsby?

Nano React App: https://hackernoon.com/create-react-app-is-way-too-bloated-5db07c3511

If project can't benefit from server-side rendering or SEO or static generation, then it's not worth going the Next.js or Gatsby way - less popular meaning less support, more traps. Sticking with CRA / ejected CRA.

Parcel may be good, but I don't know if it's easy to wire Parcel and Monaco, as well as any other dependencies. Sticking with CRA.

CSS-in-JS library [styled-components]

Anything competing with styled-components? CSS Modules? Not worth it.

Also, look at https://styled-system.com/

https://styled-components.com/docs/tooling#babel-macro

Components library [Ant]

Bootstrap? Material UI? Ant?

https://ant.design/docs/react/use-in-typescript

Ant has better TypeScript support and is being very actively developed

To use:

  • https://github.com/fi3ework/vscode-antd-rush
  • https://marketplace.visualstudio.com/items?itemName=bang.antd-snippets
  • For inspiration: http://antd-admin.zuiidea.com/
  • And in general: https://github.com/websemantics/awesome-ant-design

For forms it makes sense to look into both Formik and Yup:

  • https://blog.bitsrc.io/creating-forms-in-react-with-formik-and-yup-698d09363a22
  • https://github.com/jannikbuschke/formik-antd

Frontend state management [React Hooks -> Redux + Redux Toolkit + Redux Thunk (+ Redux Saga)]

Storing the state inside react components should be enough for the start. Once there are significant pain points and the transition to Redux is inavoidable, we can start using Redux. Redux Toolkit is a modern official way to standardize the Redux boilerplate. And, in case there's going to be some nightmare complex multi-staged interaction back and forth

To better understand the whole necessity of such a complex system like Redux, you may want to meditate on Storeon:

  • https://github.com/storeon/storeon

To read:

  • https://redux-toolkit.js.org/introduction/quick-start

Router [React Router]

@reach/router vs. React Router

@reach/router's core feature with auto focus is actually very annoying and inavoidable by design. While it may make things more accessible, it makes a hell of auto scrolling.

Features from @reach/router are slowly backported to React Router anyways. Also, not a huge difference between the two libraries, so it shouldn't be painful to switch back and forth. You may start with @reach/router and switch once you hit this auto focus trap or need more customization.

  • https://reacttraining.com/blog/reach-react-router-future/
  • https://github.com/reach/router/blob/master/website/src/markdown/pages/typescript.md

Code editor as a component [Monaco]

https://habr.com/ru/company/Voximplant/blog/445390/

Monaco is compatible with pre-eject CRA: https://github.com/react-monaco-editor/react-monaco-editor/issues/263 See cra-monaco/. Although this isn't maintained: https://medium.com/@kitze/configure-create-react-app-without-ejecting-d8450e96196a

Mobile development [React Native]

React Native, Code Push, Fastlane.

Flutter is good but you already have React, so why make your stack more complex.

Unless you build games or rely on bleeding edge APIs like VR/AR, you don't need native Swift/Kotlin development. It's more technologies => more engineering effort and cost, in terms of hours and team size and team salary and communication.

Examples of large React Native projects:

  • https://github.com/zulip/zulip-mobile
  • https://github.com/mattermost/mattermost-mobile

Language flavor/safety [TypeScript]

Flow or Typescript?

Looks like Flow is on par with TypeScript and it's better with React - both are maintained by Facebook. One may also migrate from Flow to TypeScript later on: https://medium.com/inato/migrating-from-flow-to-typescript-why-how-worth-it-5b7703d12089

Flow is often blamed to have bad VSCode support and random bugs. Yarn and Jest migrated from Flow to TypeScript. Same for React Native's Expo.

No need to use TSLint anymore: https://medium.com/palantir/tslint-in-2019-1a144c2317a9

Looks like CRA doesn't have ES2016 support, let alone ES2020. What exactly are we missing: https://github.com/tc39/proposals/blob/master/finished-proposals.md It might make sense to enable it using customize-cra: https://2muchcoffee.com/blog/es7-decorators-how-to-use-the-decorator-syntax-in-react/

Have a look at:

  • https://github.com/dzharii/awesome-typescript
  • https://github.com/typescript-cheatsheets/react-typescript-cheatsheet
  • https://github.com/jeffijoe/typesync
  • https://mariusschulz.com/blog/series/typescript-evolution

Package managers [Yarn 1.22 or npm, npx]

Yarn 2 can fail to work with react-app-rewired, so sticking to a Yarn 1.* like 1.22 is a safe option for now.s

It looks like npm is being actively developed and is on par with Yarn these days, whereas Yarn has almost no big changes throughout 2019.

  • https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b

Linters and formatters [ESLint/Prettier, Husky]

ESLint/Prettier with typescript-eslint. Pre-commit hooks running necessary tools with Husky.

  • https://prettier.io/docs/en/integrating-with-linters.html
  • https://github.com/alexgorbatchev/eslint-import-resolver-typescript
  • https://www.robertcooper.me/using-eslint-and-prettier-in-a-typescript-project
  • https://dev.to/botreetechnologies/setting-up-husky-pre-commit-hook-with-eslint-prettier-and-lint-staged-for-react-and-react-native-d05

Backend

Backend framework [Django]

Django or Express.js?

First of all, there are tons of web frameworks, and all popular languages have several of them. The most popular ones are all pretty much equal in their maturity - if you compare Django to Rails to Laravel to ASP.NET to Play. So this is a choice of a language more than a choice of a framework - the framework should be "a single most popular for your language".

Python is a winner in terms of language maturity and size of its community. It leads in all other applications - it has ML libraries, it has the support for any kind of data processing you may need to do.

So the real question is, do you want to have two languages (JS + Python) in your project, or you'd rather just have one and stick to Node.js?

You can assmeble a stack around Express.js. It's essential to use the RDBMS way for the main data storage (i.e. not to slip into the NoSQL trap), which leads to using sequelize as an ORM. And sequelize itself isn't as smooth as Django ORM - it requires more manual actions and verbose configuration. It was also hard to interact with using REPL due to async nature - maybe it's still hard.

I love Django admin panel, Django ORM, migrations, shell, dbshell, Jupyter notebooks with Django support. It's very hard to assemble such a stack on Node.js. Also, sequelize sucks, and NoSQL as a main data storage sucks way more. So - Django.

(Alternatives - async Flask equivalent is FastAPI. Why do you need an async framework though?)

Django boilerplate - cookiecutter?

  • https://github.com/pydanny/cookiecutter-django
  • https://github.com/agconti/cookiecutter-django-rest
  • https://github.com/wsvincent/awesome-django#boilerplate

Cool libraries:

  • https://django-extensions.readthedocs.io/
    • https://django-extensions.readthedocs.io/en/latest/field_extensions.html
    • https://django-extensions.readthedocs.io/en/latest/shell_plus.html to run Jupyter Notebook
  • https://github.com/jazzband/django-debug-toolbar/
  • https://github.com/arteria/django-hijack
  • https://github.com/wsvincent/awesome-django#models
  • https://github.com/joke2k/django-environ

Open-source Django projects:

  • https://github.com/zulip/zulip/ with very detailed documentation https://zulip.readthedocs.io/
  • https://github.com/taigaio/taiga-back
  • https://github.com/wagtail/wagtail/
  • https://github.com/edx/edx-platform
  • https://github.com/django/djangoproject.com

Blog posts:

  • https://vsupalov.com/django/
  • https://vsupalov.com/quick-django-refresher-crash-course/
  • https://vsupalov.com/django-custom-user-model/
  • https://medium.com/3yourmind/keeping-django-database-migrations-backward-compatible-727820260dbb

API design [Django REST Framework]

Should we use REST or GraphQL?

Django has a very mature REST framework - Django REST framework (DRF), used by 108k projects according to Github stats. It's been actively maintained since 2011 and very well documented.

GraphQL is a new technology that gives the following benefits:

  • typed API requests: auto checking, no need to do Swagger/Postman knowledge sharing between frontend and backend teams
  • no overfetching/underfetching

While the technology itself is cool, it's way more supported in the Node.js world, where the express-graphql library has same 109k users. It's support in the Django world is young and limited: graphene_django has 3k users, it's poorly documented, not very actively maintained and has performance issues.

So for now, Django should be used with DRF. If GraphQL is a must, one should entirely switch to the Node.js stack.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言