29 posts for "node"
The problem with Docker and node modules for Node.js development
August 12, 2022Working with Docker and Node.js can be a pain, especially when tying to get the perfect, no-maintenance, fast setup that every dev wants. I tried to achieve that perfect setup and include Prisma, and this is the story.
My TypeScript, Fastify and Prisma starter project wrapped with Docker
May 08, 2022A detailed description of creating my next modern Node.js API starter project with TypeScript, and how I got it working on a Mac M1 machine.
Processing third party form data in Next.js using Webhooks
April 20, 2022How to receive JSON formatted multipart form data in a Next.js serverless function from a form service webhook, such as Jotform.
The 'too many connections for role' error with Postgres on serverless
April 06, 2022Why the 'too many connections' error happens with Postgres on a Node.js serverless function like Vercel, how to stop it so you app runs smoothly, and an attempt at connection pooling
Developing a turn based real-time battle game with Next.js and WebSockets
March 31, 2022Overview of a JavaScript Pokemon battle system re-make from the 90's Game Boy classic, some of the challenges faced during development, and how they were... tackled.
Making screenshots for social sharing with Puppeteer & Node
December 28, 2021How to create dynamic screenshots of a page for use when sharing on social media with Open Graph images.
Using caching to limit API requests for a lightning fast app
October 26, 2021Using local database and Redis caching to help speed up your application and ensure you're not hitting those API request limits.
Sharing cookies with JWTs across different domains and ports
August 30, 2021When using Fetch, cookies are not shared between sites with different origins, including domains, subdomains, and even ports. Here's why, and the solution.
Developing my second mobile app - Cinepicks
July 26, 2021An overview of Cinepicks, including features, technical aspects like frameworks and server setup, we all as challenges tackled on the way.
Using the WebSockets API with React Native and NodeJS
February 25, 2021Implementing WebSockets API between React Native and Node Express server, accessing sockets from Express routes and sending messages to specific users sockets.
Creating a dynamic loading bar with Socket.io and Node.js
October 24, 2020Using Socket.io, Node.js and React to create a dynamic loading bar for a long running server side process, with a setup and integration example.
Long running, asynchronous server side processes in Node.js
September 13, 2020A journey of cutting down processing time for an asynchronous process on user uploaded data in Node.js, with database queries.
Testing on Node.js with Jest and a Sequelize test database
July 28, 2020Testing using Jest and a dedicated sequelize test database means tests can be ran in a clean, uninterrupted system.
Using Docker for full stack local development with Node.js and Postgres - Part 2
June 30, 2020Leveraging the benefits of Docker to help run a full stack JavaScript app within development containers with Docker Compose.
Setting up SSL on an AWS EC2 instance with Nginx
February 29, 2020Getting your site HTTPS ready for free using certbot on AWS EC2 instances, and integrating with Nginx config.
Run React + Node on one AWS EC2 instance with Nginx - Part 2
July 20, 2019The second of two posts about running a React and Node app on a single AWS EC2 instance, custom domain pointing with Nginx, and self hosted PostgreSQL database.
Run React + Node on one AWS EC2 instance with PM2 - Part 1
July 08, 2019The first of two posts about running a React and Node app on a single AWS EC2 instance with PM2. A cheaper and more flexible way than AWS Elastic Beanstalk.
Real-time notifications with WebSockets and Redis
June 30, 2019Delivering real-time in-app notifications with WebSockets and Redis using React and Redux
Handling JWT authentication errors with React Apollo
August 11, 2018A short post showing my approach to handling authentication errors in React Apollo, specifically how to log people out due to token expiration.
The rise and fall of Crossed Paths on the App Store - my React Native experience
August 01, 2018Getting my Crossed Paths app on the App Store was a journey, and now my journey is about to end because of Facebook's privacy rules.
Using PostgreSQL with Sequelize - setup, sync, and migrations
June 11, 2018Covering some crucial areas of Sequelize using Postgres, like sync, migrations, and environment variables which I don't believe are currently easy to find.
Integrating Apollo GraphQL Client into a Redux application for local state - Part 3
March 04, 2018Introducing Apollo Client to an existing React Redux application, what that means with Redux dropped from Apollo, including local state management.
Integrating Apollo GraphQL into a Node server with JSON Web Tokens - Part 2
February 19, 2018Setting up Apollo's GraphQL server implementation, integrating with an existing Node architecture, and protecting the endpoint with JSON web tokens.
JSON Web Token authentication with Preact and Redux - Part 1
February 01, 2018Developing my Preact, Redux and Apollo GraphQL boilerplate with JSON Web Token authentication. A three-part post on client and server-side implementation.
A lesson learned with Heroku, Node, Babel and Javascript ES6
November 14, 2017A hard lesson learned with one long evening of ES6 Node, Babel being pushed to a Heroku server.
Using JSON Web Tokens and refresh tokens with React Native, Redux and Node JS - Part 2
October 25, 2017Updated 18th March - Carrying on with how I incorporated JWT stateless authentication into React Native using Redux and Redux Thunk.
Creating my user approval based web scraper using Node
October 15, 2017Comments on each stage of a recent project of making a web scraper and publishing to NPM
Connecting to the Instagram API using React Native and Node Express
July 26, 2017Connecting to the Instagram API in 2017 is a big of a nightmare with their new rules. This post will discuss how to connect using React Native, Node and Express.
Using JSON Web Tokens and refresh tokens with React Native, Redux and Node JS - Part 1
July 18, 2017Updated 18th March - Going into detail with stateless authentication using JSON Web Tokens with React Native, Redux and Node.