The ultimate DAL with PostGraphile part 3: using a JWT coming from AWS Cognito

This is the third post of our ongoing series about using PostGraphile. In this post, we'll learn how to authenticate a user with AWS Cognito and use the incoming JWT with our GraphQL client against PostGraphile. The idea behind this is to leverage PostGraphile support of PostgreSQL's RLS.  Cognito JWTs The first think to understand … Continue reading The ultimate DAL with PostGraphile part 3: using a JWT coming from AWS Cognito

The Ultimate DAL Part 2: Running PostGraphile in an AWS EC2 with RDS

Update Fri 8 Jun 2018 : I was running into CORS issues with the ApolloClient in React. So I enabled CORS with the --cors option while I'm still in development. This is a multipart blog post about using PostGraphile. Part 1 is here. This 2nd post only goes through the tricky steps required to connect … Continue reading The Ultimate DAL Part 2: Running PostGraphile in an AWS EC2 with RDS

Sharing cross platform C++ code between the mobile and the cloud: Introduction

When I started programming with C++ exactly 28 years ago, it was with Borland C++ 2.0 on MS-DOS. Then I went to the Windows 3.0 version, had a quick side step with Visual Basic until 2001 when I was back with C++ on Windows 2000 running Visual Studio 6. Then I moved to c#/.NET for a … Continue reading Sharing cross platform C++ code between the mobile and the cloud: Introduction