Cargando…

Building distributed applications in Gin : a hands-on guide for go developers to build and deploy distributed web apps with the Gin framework /

An effective guide to learning how to build a large-scale distributed application using the wide range of functionalities in Gin Key Features Explore the commonly used functionalities of Gin to build web applications Become well-versed with rendering HTML templates with the Gin engine Solve commonly...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Labouardy, Mohamed
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2021.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a2200000 i 4500
001 OR_on1257704983
003 OCoLC
005 20231017213018.0
006 m o d
007 cr |n|||||||||
008 210627s2021 enk o 000 0 eng d
040 |a YDX  |b eng  |e pn  |c YDX  |d TEFOD  |d OCLCO  |d OCLCF  |d TEFOD  |d UKMGB  |d EBLCP  |d UKAHL  |d N$T  |d OCLCQ  |d OCLCO  |d NZAUC  |d OCLCQ  |d IEEEE  |d OCLCO 
015 |a GBC1A3607  |2 bnb 
016 7 |a 020242657  |2 Uk 
020 |a 9781801079556  |q (electronic bk.) 
020 |a 1801079552  |q (electronic bk.) 
020 |z 1801074852 
020 |z 9781801074858 
029 1 |a UKMGB  |b 020242657 
035 |a (OCoLC)1257704983 
037 |a D24AB88C-7992-40F0-BB1D-94CEF4C4419B  |b OverDrive, Inc.  |n http://www.overdrive.com 
037 |a 10163048  |b IEEE 
050 4 |a QA76.9.D5 
082 0 4 |a 004.3602855133  |2 23 
049 |a UAMI 
100 1 |a Labouardy, Mohamed. 
245 1 0 |a Building distributed applications in Gin :  |b a hands-on guide for go developers to build and deploy distributed web apps with the Gin framework /  |c Mohamed Labouardy. 
260 |a Birmingham :  |b Packt Publishing,  |c 2021. 
300 |a 1 online resource 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
505 0 |a Cover -- Title Page -- Copyright and Credits -- Dedication -- Contributors -- Table of Contents -- Preface -- Section 1: Inside the Gin Framework -- Chapter 1: Getting Started with Gin -- Technical requirements -- What is Gin? -- Setting up the Go environment -- Linux/FreeBSD -- Windows -- MacOS -- Integrated development environment -- Installing Go tools -- Installing and configuring Gin -- Dependency management in Golang -- Writing a custom HTTP handler -- Summary -- Questions -- Further reading -- Section 2: Distributed Microservices -- Chapter 2: Setting Up API Endpoints 
505 8 |a Technical requirements -- Exploring API functionality -- Defining the data model -- HTTP endpoints -- Implementing HTTP routes -- POST /recipes -- GET /recipes -- PUT /recipes/{id} -- DELETE /recipes/{id} -- GET /recipes/search -- Writing the OpenAPI Specification -- Installing Go Swagger -- Swagger metadata -- Summary -- Questions -- Further reading -- Chapter 3: Managing Data Persistence with MongoDB -- Technical requirements -- Running a MongoDB Server -- Installing Docker CE -- Running a MongoDB container -- Configuring Go's MongoDB driver -- Exploring MongoDB queries 
505 8 |a The InsertMany operation -- The Find operation -- The InsertOne operation -- The UpdateOne operation -- Designing the project's layout -- Caching an API with Redis -- Running Redis in Docker -- Optimizing MongoDB queries -- Performance benchmark -- Summary -- Questions -- Further reading -- Chapter 4: Building API Authentication -- Technical requirements -- Exploring authentication -- Using API keys -- Introducing JWTs -- Sign-in HTTP handler -- Renewing a JWT -- Hashing and salting passwords -- Persisting client sessions and cookies -- Authenticating with Auth0 -- Building an HTTPS server 
505 8 |a Self-signed certificates -- Summary -- Questions -- Further reading -- Chapter 5: Serving Static HTML in Gin -- Technical requirements -- Serving static files -- Rendering HTML templates -- Creating the view templates -- Creating reusable templates -- Building a self-contained web application -- Bundling static files -- Building a SPA -- Getting started with React -- Exploring React components -- Resolving cross-origin requests -- Summary -- Questions -- Further reading -- Chapter 6: Scaling a Gin Application -- Technical requirements -- Scaling workloads with a message broker 
505 8 |a Deploying RabbitMQ with Docker -- Exploring the Producer/Consumer pattern -- Scaling horizontally with Docker replicas -- Using Docker multi-stage builds -- Scaling services with Docker Compose -- Using the NGINX reverse proxy -- Caching assets with HTTP cache headers -- Setting HTTP caching headers -- Summary -- Further reading -- Section 3: Beyond the Basics -- Chapter 7: Testing Gin HTTP Routes -- Technical requirements -- Testing Gin HTTP handlers -- Generating code coverage reports -- Performing integration tests with Docker -- Discovering security vulnerabilities -- Gosec 
520 |a An effective guide to learning how to build a large-scale distributed application using the wide range of functionalities in Gin Key Features Explore the commonly used functionalities of Gin to build web applications Become well-versed with rendering HTML templates with the Gin engine Solve commonly occurring challenges such as scaling, caching, and deployment Book DescriptionGin is a high-performance HTTP web framework used to build web applications and microservices in Go. This book is designed to teach you the ins and outs of the Gin framework with the help of practical examples. You’ll start by exploring the basics of the Gin framework, before progressing to build a real-world RESTful API. Along the way, you’ll learn how to write custom middleware and understand the routing mechanism, as well as how to bind user data and validate incoming HTTP requests. The book also demonstrates how to store and retrieve data at scale with a NoSQL database such as MongoDB, and how to implement a caching layer with Redis. Next, you’ll understand how to secure and test your API endpoints with authentication protocols such as OAuth 2 and JWT. Later chapters will guide you through rendering HTML templates on the server-side and building a frontend application with the React web framework to consume API responses. Finally, you’ll deploy your application on Amazon Web Services (AWS) and learn how to automate the deployment process with a continuous integration and continuous delivery (CI/CD) pipeline. By the end of this Gin book, you will be able to design, build, and deploy a production-ready distributed application from scratch using the Gin framework. What you will learn Build a production-ready REST API with the Gin framework Scale web applications with event-driven architecture Use NoSQL databases for data persistence Set up authentication middleware with JWT and Auth0 Deploy a Gin-based RESTful API on AWS with Docker and Kubernetes Implement a CI/CD workflow for Gin web apps Who this book is for This book is for Go developers who are comfortable with the Go language and seeking to learn REST API design and development with the Gin framework. Beginner-level knowledge of the Go programming language is required to make the most of this book. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a Distributed operating systems (Computers)  |x Design. 
650 0 |a Go (Computer program language) 
650 6 |a Go (Langage de programmation) 
650 7 |a Go (Computer program language)  |2 fast 
776 0 8 |i Print version:  |z 1801074852  |z 9781801074858  |w (OCoLC)1252050135 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781801074858/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
938 |a Askews and Holts Library Services  |b ASKH  |n AH39074951 
938 |a ProQuest Ebook Central  |b EBLB  |n EBL6670233 
938 |a EBSCOhost  |b EBSC  |n 2955951 
938 |a YBP Library Services  |b YANK  |n 302285614 
994 |a 92  |b IZTAP