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