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

The ultimate Data Access Layer with GraphQL Part 1 : Postgraphile

The problem You probably know by now that I hate writing boilerplate data access code. When you have to write a data access layer, I used to think that the code should be generated from the database structure and could be regenerated on demand, otherwise you're losing your time. That was before... The previous solutions … Continue reading The ultimate Data Access Layer with GraphQL Part 1 : Postgraphile

Writing Typescript Lambda deployed with CLAUDIA.JS part 2

In part 1 of this series we learned how to write a Typescript declaration file. We’ll now learn and adapt from this tutorial to transpile code with the Typescript compiler. Transpiling before deployment We'll need the Typescript compiler instead of Babel as a development dependency. npm install tsc claudia -D The scripts in package.json becomes what you can … Continue reading Writing Typescript Lambda deployed with CLAUDIA.JS part 2