In-depth guide for modelling data and setting up the basics. Also includes customisable template and boilerplate.
Tag: Node.js
Medooze Media Server Demo
I've recently done some research into WebRTC and specifically on how to stream media captured in the browser to a server. Initially I thought I could use something like Kinesis Video Streams and have AWS do the heavy lifting for me. Unfortunately this turned out way more complicated than I had anticipated so I started … Continue reading Medooze Media Server Demo
Testing Apollo Client/Server Applications
Following up on the GraphQL, Node.JS and React Monorepo Starter Kit and GraphQL Apollo Starter Kit (Lerna, Node.js), I have now created an extended example which includes facilities to run unit and integration tests using Jest. The code can be found on GitHub: apollo-client-server-tests The following tests are included: React Component Test This tests asserts … Continue reading Testing Apollo Client/Server Applications
GraphQL, Node.JS and React Monorepo Starter Kit
Following the GraphQL Apollo Starter Kit (Lerna, Node.js), I wanted to dig deeper into developing a monorepo for a GraphQL/React client-server application. Unfortunately, things are not as easy as I thought at first. Chiefly the create-react-app template does not appear to work very well with monorepos and local dependencies to other packages. That's why I … Continue reading GraphQL, Node.JS and React Monorepo Starter Kit
Test if Firebase is Initialized on Node.JS / Lambda
Firebase is build on the assumption that it will only be initialized once. This can be a problem in Node.JS applications sometimes, especially if they are run as part of an Amazon Lambda function. This can lead to errors as the following: Thankfully, there is an easy way to check if Firebase has already been … Continue reading Test if Firebase is Initialized on Node.JS / Lambda