Carles CapellasinJavaScript in Plain EnglishGradual replacement of legacy web APIs using 404 responses and http-proxyRe-writing a legacy web API takes time and the exercise will probably span across several releases. We will most likely be facing a…Nov 6Nov 6
Carles CapellasThis is how Trello-like apps support offline data on ever-changing database schemasApps that allow users to generate data while being offline (Trello, for example) generally provide a better user experience. They must…Aug 7Aug 7
Carles CapellasAdding type safety to fetch requests can be simpler than you thinkWriting a web app in Typescript provides type safety in both the client and the server but, what about the communication between the two…Jun 21Jun 21
Carles CapellasDistribution of Typescript shared code without package repositoriesA couple years ago I wrote a piece about sharing code in Typescript monorepos, focusing mainly on npm workspaces, and I left out an…Jun 7Jun 7
Carles CapellasA comprehensive WebRTC walkthroughWebRTC allows for real-time communication between two peers using only the browser’s built-in functionalities, with no need for a…Jul 12, 2023Jul 12, 2023
Carles CapellasInferring network requests’ return type: @express-typed-apiEven though choosing Typescript to develop an express web app provides type safety in both client and server, the network requests data…Jan 13, 2023Jan 13, 2023
Carles CapellasClient/Server code sharing in Typescript monoreposWriting a web server on node.js means using the same programming languages on both sides of a web app. Which should allow for sharing a…Jun 27, 2022Jun 27, 2022
Carles CapellasinGeek CultureFirst-class push notifications for Expo appsSo the time has come for your brilliant Expo app to start delivering push notifications. You’ve had a look at the multiple options…Aug 19, 20216Aug 19, 20216
Carles CapellasinNerd For TechApple/Google authentication in Expo apps using FirebaseYou are authenticating your Expo app users with email and password using Firebase. It works great but marketing funnels seem to indicate…Feb 20, 202110Feb 20, 202110
Carles CapellasEmail authentication in React Native apps using FirebaseI choose React Native to develop mobile apps because it simplifies development so I want user authentication to be as simple as possible…Jan 28, 2021Jan 28, 2021