Skip to main content

Show HN: WunderGraph – Aggregate REST and GraphQL APIs, Add AuthN/Z and Caching https://ift.tt/3behIKc

Show HN: WunderGraph – Aggregate REST and GraphQL APIs, Add AuthN/Z and Caching Hey, I'm Jens, founder of WunderGraph. Over the years of working with REST & GraphQL APIs, I found that some aspects of using it are way too complicated. Here's a list of problems I believe could be abstracted away: - Aggregating multiple GraphQL, REST, etc. APIs into a simple to use API (Backend for Frontend) without writing code - adding Authentication & Authorization to APIs you don't have full control over - adding efficient and easy to use Caching to GraphQL APIs without writing code - adding persisted queries for security and performance reasons without making my application code and deployment process more complex Companies like Facebook, who are concerned about security and performance, use persisted Queries and don't expose their GraphQL API directly to the public. While developing they write their Queries using Relay and persist (whitelist) them at compile time. At least that's my understanding from their blog posts and conference talks. WunderGraph takes this approach to the next level by turning the flow around. Relay, Apollo, URQL, etc. are very complex pieces of software because of the dynamic nature of GraphQL. With WunderGraph we define all Operations in GraphiQL "on the server" and then generate a very simple client from it. In a nutshell, Queries become simple GET requests with variables as query parameters, Mutations still are POST requests but just with variables as the body. A more in depth explanation including an example can be found here: https://ift.tt/2QBOewD More info & docs: https://ift.tt/3bdiK9x For those who like to watch videos, here's a general overview: https://youtu.be/RwkThD5pz1E Here's a full 26m tutorial with React & Typescript that helps to start from scratch: https://youtu.be/8BQNeeVoFGI August 31, 2020 at 02:06PM

Comments

Popular posts from this blog

Show HN: AI Generated Short Video https://ift.tt/3iS1sRE

Show HN: AI Generated Short Video Hey everyone, I have always wanted to content. I enjoy creating videos and watching other's creations! Being a programmer, I decided to create an AI pipeline which can create textual scripts and churn out thousands of videos / blogs on a daily basis given any topic. This is my first video and I would appreciate any comments and suggestions regarding it but I am particularly interested in hearing about tips and tricks / content format which can be followed to make the such video more fun and intuitive to watch. Also looking for advice if this can be monetised maybe saas or ads or something completely different. I would also want to know if anyone of you would be interested in such an AI tool. The Video: https://www.youtube.com/watch?v=1J_DOIPGKsw Specifically, what I wanted to ask: What are the specific things you liked and what you didn't. Would there have been a better format for me to have made this video to deliver the message more effective...

Show HN: AWS-Powered Rube Goldberg Machine https://ift.tt/2UId1C2

Show HN: AWS-Powered Rube Goldberg Machine AWS has so many services—like more than most of us can name. What are some creative ways you can stitch them together to accomplish simple tasks in the most roundabout of ways? Get creative! This isn't about being practical! Here's a theoretical example of how to create a GIF! (Steps 4 through 998 are left as an exercise for creative readers!) 1. Add a new AWS IAM user, gif-creator, where each frame that will be part of the final GIF is base64 encoded and included as tag to the IAM user. 2. This triggers a CloudTrail event to be logged and published to Simple Notification Service. 3. Upon receiving this event, a lambda gets triggered that builds a Docker container that simply scans your domain for new DNS records. Additionally, the lambda spins up an entire Elastic Kubernetes Service (EKS) cluster with that Docker container. . . . 999. You now have a GIF in your inbox! April 6, 2020 at 02:10AM

Launch HN: TagMango (YC W20) – Personalized video shoutouts in India https://ift.tt/3e1PZxC

Launch HN: TagMango (YC W20) – Personalized video shoutouts in India Hi HN! TagMango ( https://ift.tt/2x7YwhO ) is a marketplace where fans can book personalized video shoutouts from their favourite influencers and celebrities in India (essentially building Cameo for India). Why now: Celebrity culture in India has always been way different and more pompous as compared to other nations. People are fascinated by celebrities’ lives of glamour, infact celebrities are actually worshipped here. Like Rajnikanth, a south superstar, has over 30 temples to his name. Employees are literally given holiday on his movie release day. These celebrities are respectful of this culture and are always looking to give back to their fan base. India has been leading in content consumption and creation on social media, platforms like Tik Tok are doubling MAU every year. The craze for content, the fan culture and the ease of digital payments make it an exciting opportunity for the indian audience to actually i...