Muutke küpsiste eelistusi

Building GraphQL Backend with Hasura: Learn to build a secure back-end as a service API with Hasura GraphQL engine [Pehme köide]

  • Formaat: Paperback / softback, 343 pages, kõrgus x laius: 235x191 mm
  • Ilmumisaeg: 01-Mar-2024
  • Kirjastus: Packt Publishing Limited
  • ISBN-10: 1804615773
  • ISBN-13: 9781804615775
Teised raamatud teemal:
  • Formaat: Paperback / softback, 343 pages, kõrgus x laius: 235x191 mm
  • Ilmumisaeg: 01-Mar-2024
  • Kirjastus: Packt Publishing Limited
  • ISBN-10: 1804615773
  • ISBN-13: 9781804615775
Teised raamatud teemal:
Get started with the Hasura in a short time and master your skills with more advanced custom business logic and SQL. Start developing complex and scalable real-world back-end APIs multiple times faster.

Key Features

Use Hasura, a powerful, lightning-fast, and real-time GraphQL API engine to build an efficient and secured GraphQL API Improve productivity by saving development time and writing fewer lines of code Create modern, robust, and scalable back-end architectures with Hasura back-end-as-a-service

Book DescriptionThe book will start with the basics and take you to more advanced features of Hasura. We will start by installing Hasura on your local machine and as the book moves on touch almost every feature Hasura has to offer to make sure you can feel comfortable building back-end API with Hasura and concentrate on the front-end. The book is not about SQL or PostgreSQL but as Hasuras default suggested database engine is Postgres then we will be touching in this book also how to build a normalized database structure and add SQL functions in Hasura. The book is easy to read and aims to help the reader get to become a Hasura master in an easy way. The reader will have a single handbook to cover all their Hasura-related needs from the initial start till the production. Hasura is not complex, and I wish I had such a single source to just work through when I started taking away the hours spent learning on my own and gathering information from multiple sources. The book will also cover the best Hasura practices with real-world examples. In every chapter, there will be hands-on examples that the reader is suggested to follow along on their machines that will make the knowledge easy to remember so that after completing this book you will be ready to take the next backend development project with confidence.What you will learn

Learn to set up Hasura on your local machine and get started with the Hasura console Create PostgreSQL tables, and relationships, and extend schemas with Views and SQL Functions Extend Hasura with event triggers when theres a specific change in the database Create complex GraphQL Queries, Mutations, and Subscriptions Create different roles and give them specific permissions Extend your API schema with third-party external APIs Use templates for authentication and file uploading in Hasura Learn to integrate Hasura into your web or mobile application

Who this book is forThis book is for intermediate to advanced developers with at least some background in (SQL) databases and for developers wanting to get most of the back-end API out of the box without the need to write too many lines of code and for developers looking to start deploying modern, complex, secure, and rapid back-end solutions most professionally. It is equally useful for front-end or back-end programmers. The front-end developers will be able to become full-stack developers and back-end developers will be able to develop back-end APIs a lot faster as compared to their current framework.
Table of Contents

Introducing Hasura
QuickStart with Hasura Docker on your Local Environment
Table, relationships, and normalisation
Table Relationships and Normalization
Event triggers and scheduled triggers
Working with Queries, Mutations, and Subscriptions
Using variables, aliases, fragments, and directives in queries
Streaming subscriptions with GraphQL
Permission Rules, Roles and Session Variables
Add ready-made GraphQL endpoint to the Hasura as a remote schema
Multiple PostgreSQL and MySQL sources
Bring any REST API into your GraphQL
Set up Github, CI/CD pipelines and migrate to the server
Template: Open-Source Authentication & File Uploading
Monitoring and Alerting with Prometheus
Generate Data Models from the GraphQL Schema
Integrate Hasura GraphQL to React app
Integrate Hasura GraphQL to Flutter app
Connect to Hasura GraphQL with PHP, Python, Java, Rust and more
Kaspar L. Palgi is a veteran software architect, consultant, and analyst in CrewNew and Klarity.app time management software. He is also a great modern technology and software enthusiast and implementer. As he comes from multiple generations back from the teachers family, he has also an urge for mentoring and creating training materials. He was a programmer of PHP web apps for multiple decades, so he has an extensive experience in a variety of industries. While living in London he also learned a lot about the actual customer needs and the UX of the applications. He is an idealist and always likes to follow the latest technological trends and write clean and well-commented code by always following the famous Uncle Bob's best advice. Eusebiu is a senior full stack developer currently working with Crewnew ltd. He specializes in backend programming and is a database expert. He has been extensively working on creating back-end architecture, design and implementation to Hasura for dozens of bigger projects during the past three years.