DEV Community

loading...

Discussion on: Good Bye Web APIs

Collapse
mvila profile image
Manuel Vila Author

I think you misunderstood Layr. The backend and the frontend are physically separated. They can be developed and deployed independently. You can have unit tests for the backend, and if you mock your backend, you can also have unit tests for the frontend. It's no different than a traditional single-page application.

Please have a look at this example. As you can see, the frontend and the backend are two different applications with their own package.json file.