Ask HN: Is it feasible to have just a REST API as a back end for web app?

  • In our company that is what we do. We have a REST API in Flask and two frontends. One is an end user client Electron application and the other is a web portal. Both the application and the portal are React applications.

    My question would be only REST as opposed to what? For example our client application also have native plugins to connect with hardware and also does lot of processing locally.

  • Are you asking "is it okay to not use a html templating engine in the back end"?

  • Yes, it is entirely possible.