Cargando…

Full-stack web development with Go build your web applications quickly using the Go programming language and Vue.js /

A Go programmer's hands-on guide to go from building basic server-side templates to full single page apps using Tailwind CSS, Vue.js, and more Key Features Learn how to structure your Go projects, be smarter with SQLc, create middleware and secure your apps Explore different frontend frameworks...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Tolaram, Nanik (Autor), Glynn, Nick (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing Ltd., [2023]
Edición:1st edition.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a22000007a 4500
001 OR_on1368385678
003 OCoLC
005 20231017213018.0
006 m o d
007 cr |n|||||||||
008 230213s2023 enk o 000 0 eng d
040 |a YDX  |b eng  |c YDX  |d ORMDA  |d EBLCP  |d OCLCQ  |d OCLCF  |d IEEEE  |d OCLCQ  |d OCLCO 
019 |a 1369649312  |a 1369653059 
020 |a 9781803243917  |q (electronic bk.) 
020 |a 1803243910  |q (electronic bk.) 
020 |z 1803234199 
020 |z 9781803234199 
029 1 |a AU@  |b 000074212882 
035 |a (OCoLC)1368385678  |z (OCoLC)1369649312  |z (OCoLC)1369653059 
037 |a 9781803234199  |b O'Reilly Media 
037 |a 10162772  |b IEEE 
050 4 |a QA76.73.G63 
082 0 4 |a 005.13/3  |2 23/eng/20230307 
049 |a UAMI 
100 1 |a Tolaram, Nanik,  |e author. 
245 1 0 |a Full-stack web development with Go  |h [electronic resource] :  |b build your web applications quickly using the Go programming language and Vue.js /  |c Nanik Tolaram, Nick Glynn. 
250 |a 1st edition. 
260 |a Birmingham, UK :  |b Packt Publishing Ltd.,  |c [2023] 
300 |a 1 online resource 
520 |a A Go programmer's hands-on guide to go from building basic server-side templates to full single page apps using Tailwind CSS, Vue.js, and more Key Features Learn how to structure your Go projects, be smarter with SQLc, create middleware and secure your apps Explore different frontend frameworks and dive into Vue and Tailwind CSS Use Terraform and Docker and deploy in minutes Book Description Go is a modern programming language with capabilities to enable high-performance app development. With its growing web framework ecosystem, Go is a preferred choice for building complete web apps. This practical guide will enable you to take your Go skills to the next level building full stack apps. This book walks you through creating and developing a complete modern web service from auth, middleware, server-side rendering, databases, and modern frontend frameworks and Go-powered APIs. You'll start by structuring the app and important aspects such as networking, before integrating all the different parts together to build a complete web product. Next, you'll learn how to build and ship a complete product by starting with the fundamental building blocks of creating a Go backend. You'll apply best practices for cookies, APIs, and security, and level up your skills with the fastest growing frontend framework, Vue. Once your full stack application is ready, you'll understand how to push the app to production and be prepared to serve customers and share it with the world. By the end of this book, you'll have learned how to build and ship secure, scalable, and complete products and how to combine Golang with existing products using best practices. What you will learn Discover how to quickly scaffold, structure, and build your Golang applications Design and build databases using PostgreSQL and SQLc to generate type-safe SQL code Monitor applications with centralized logging and metrics collection for high performance Explore frontend frameworks and libraries such as Vuetify, Buefy, and Tailwind CSS to build a responsive frontend for your app Communicate securely between the frontend and backend with cookies and session handling with middleware Understand how to package applications using Docker and set up CI pipelines in GitHub Who this book is for This book is for Go programmers who want to combine the power of the Go language with modern web development technologies to build complete web apps from frontend to backend. The book assumes beginner-level knowledge of HTML, CSS, and the web. 
505 0 |a Cover -- Title Page -- Copyright and Credits -- Contributors -- About the reviewers -- Table of Contents -- Preface -- Part 1: Building a Golang Backend -- Chapter 1: Building the Database and Model -- Technical requirements -- Installing Docker -- Setting up Postgres -- Designing the database -- Installing sqlc -- Using sqlc -- Setting up the database -- Generating CRUD with sqlc -- Building the makefile -- Summary -- Chapter 2: Application Logging -- Technical requirements -- Exploring Go standard logging -- Using golog -- Local logging -- Writing log messages to the logging server 
505 8 |a Configuring multiple outputs -- Summary -- Chapter 3: Application Metrics and Tracing -- Technical requirements -- Understanding OpenTelemetry -- The OpenTelemetry APIs and SDK -- Tracing applications -- Installing Jaeger -- Integrating the Jaeger SDK -- Integration with Jaeger -- Adding metrics using Prometheus -- Adding metrics using Prometheus -- Running docker-compose -- Summary -- Part 2: Serving Web Content -- Chapter 4: Serving and Embedding HTML Content -- Technical requirements -- Handling HTTP functions and Gorilla Mux -- Hello, World with defaults 
505 8 |a Building on the basics with Gorilla Mux -- Rendering static content -- Rendering dynamic content -- Using Go embed to bundle your content -- Summary -- Chapter 5: Securing the Backend and Middleware -- Technical requirements -- Adding authentication -- Creating our dummy user -- Authenticating a user -- Adding middleware -- Basic middleware -- Adding cookies and sessions -- Cookies and session handling -- Storing session information -- Using Redis for a session -- Summary -- Chapter 6: Moving to API-First -- Technical requirements -- Structuring an application -- Defining packages 
505 8 |a Exposing our REST API -- Cross-Origin Resource Sharing (CORS) -- JSON middleware -- Session middleware -- Converting to and from JSON -- Defining request model -- Defining a response model -- Reporting errors with JSON -- Using JSONError -- Using JSONMessage -- Summary -- Part 3: Single-Page Apps with Vue and Go -- Chapter 7: Frontend Frameworks -- Technical requirements -- Server-side rendering versus single-page apps -- Introducing React, Vue, and more -- React -- Svelte -- Vue -- Creating a Vue app -- Application and components -- Login page using Vue -- Using Vite 
505 8 |a Using Vue Router to move around -- Routing the login page -- Summary -- Chapter 8: Frontend Libraries -- Technical requirements -- Understanding Vuetify -- Setting up Vuetify -- Using UI components -- Understanding Buefy -- Bulma sample -- Setting up Buefy -- UI components -- Validating data entry with Vuelidate -- Better input handling with Cleave.JS -- Summary -- Chapter 9: Tailwind, Middleware, and CORS -- Technical requirements -- Introducing Tailwind -- Creating a new Tailwind and Vite project -- Consuming your Golang APIs -- CORS for secure applications -- Creating Vue middleware 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a Go (Computer program language) 
650 0 |a Web applications  |x Programming. 
650 0 |a Application software  |x Development. 
650 6 |a Go (Langage de programmation) 
650 6 |a Applications Web  |x Programmation. 
650 6 |a Logiciels d'application  |x Développement. 
650 7 |a Application software  |x Development  |2 fast 
650 7 |a Go (Computer program language)  |2 fast 
655 0 |a Electronic books. 
700 1 |a Glynn, Nick,  |e author. 
776 0 8 |i Print version:  |z 1803234199  |z 9781803234199  |w (OCoLC)1342986352 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781803234199/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
938 |a YBP Library Services  |b YANK  |n 304531231 
938 |a ProQuest Ebook Central  |b EBLB  |n EBL30361806 
994 |a 92  |b IZTAP