Book description
Create a real-world application in Go and explore various frameworks and methodologies for full-stack development
Key Features
- Build a responsive front end by using the powerful React framework
- Build web APIs and middleware in the Go language by making use of the popular Gin framework
- Build an Isomorphic Go React application via GopherJS
- Perform unit tests, and benchmarking on your web API
Book Description
The Go programming language has been rapidly adopted by developers for building web applications. With its impressive performance and ease of development, Go enjoys the support of a wide variety of open source frameworks, for building scalable and high-performant web services and apps. Hands-On Full Stack Development with Go is a comprehensive guide that covers all aspects of full stack development with Go.
This clearly written, example-rich book begins with a practical exposure to Go development and moves on to build a frontend with the popular React framework. From there, you will build RESTful web APIs utilizing the Gin framework. After that, we will dive deeper into important software backend concepts, such as connecting to the database via an ORM, designing routes for your services, securing your services, and even charging credit cards via the popular Stripe API. We will also cover how to test, and benchmark your applications efficiently in a production environment. In the concluding chapters, we will cover isomorphic developments in pure Go by learning about GopherJS. As you progress through the book, you'll gradually build a musical instrument online store application from scratch.
By the end of the book, you will be confident in taking on full stack web applications in Go.
What you will learn
- Understand Go programming by building a real-world application
- Learn the React framework to develop a frontend for your application
- Understand isomorphic web development utilizing the GopherJS framework
- Explore methods to write RESTful web APIs in Go using the Gin framework
- Learn practical topics such as ORM layers, secure communications, and Stripe's API
- Learn methods to benchmark and test web APIs in Go
Who this book is for
Hands-On Full Stack Development with Go will appeal to developers who are looking to start building amazing full stack web applications in Go. Basic knowhow of Go language and JavaScript is expected. The book targets web developers who are looking to move to the Go language.
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- About Packt
- Contributors
- Preface
- Section 1: The Go Language
- Welcome to Full Stack Go
- Building Blocks of the Go Language
- Go Concurrency
- Section 2: The Frontend
- Frontend with React.js
-
Building a Frontend for GoMusic
- Prerequisites and technical requirements
-
Building GoMusic
- Main pages
- Modal dialog windows and handling credit cards
- User pages
- Putting it all together – routes
- Summary
- Questions
- Further reading
- Section 3: Web APIs and Middleware in Go
- RESTful Web APIs in Go with the Gin Framework
- Advanced Web Go Applications with Gin and React
- Testing and Benchmarking Your Web API
- Introduction to Isomorphic Go with GopherJS
- Where to Go from Here?
- Other Books You May Enjoy
Product information
- Title: Hands-On Full Stack Development with Go
- Author(s):
- Release date: March 2019
- Publisher(s): Packt Publishing
- ISBN: 9781789130751
You might also like
video
Building full-stack web applications with Go
Building full stack web applications requires drawing on several big technologies, including database access, HTTP routing, …
book
Tanmay Teaches Go: The Ideal Language for Backend Developers
Write your own efficient, performant, and lightweight programs using Go Quickly start developing your own Google …
video
Building and leveraging REST APIs with Go
This chapter details the process of writing REST APIs with Go. This chapter starts with basics …
article
Splitting Strings on Any of Multiple Delimiters
Build your knowledge of Python with this Shortcuts collection. Focusing on common problems involving text manipulation, …