Building RESTful APIs with Go

Build high performance REST APIs and RESTful services

4.35 (68 reviews)
Udemy
platform
English
language
Other
category
330
students
3 hours
content
Jan 2019
last update
$44.99
regular price

What you will learn

Build and test robust RESTful APIs using Go.

Integrate modern databases with your web services

Secure access to your API with auth and traffic with JSON web encryption.

Test and profile your code.

Track the proper execution of your code with logs.

Creating a client library for your API that other developers can consume.

Select and use modern API frameworks such as Echo.

Description

REST is an architectural  style that tackles the challenges of building scalable web services.  APIs provide the fabric through which systems interact, and REST has  become synonymous with APIs. The depth, breadth, and ease of use of Go,  make it a breeze for developers to work with it to build robust Web  APIs. This course will teach you to build a RESTful web server. You will  learn to add routing and handle requests, thus making your APIs more  RESTful. Later, by testing and profiling your code you will ensure it  runs correctly and behaves well at scale. Moving on with security, you  will learn to log requests and outcomes of API calls and speed up  performance using the Echo framework. By the end of this course, you  will have the knowledge you need to start building your own  enterprise-grade RESTful web services that are production-ready, secure,  scalable, and reliable. 


About the Author

Bartlomiej Walczak has  almost two decades of web development and security experience. He wrote  front-ends and back-ends at various scales in PHP, Python, Node.js, and  Go. He has worked for large clients and small startups, learning the  value of structure from the former, and agility from the latter. These  days, Go remains his language of choice; he prefers it due to its ease  of use, extensive testing framework, and powerful multithreading  capabilities. 

Content

RESTful API in Go - Why?

The Course Overview
Useful Tools
Why Go?

Your First API Server

Building an API Web Server
Creating the Default Route
Creating the Default Handler
Custom Error Message
Using Postman to Test API

Making Your API RESTful

Outlining the API
Setting Up a Data Store
Record Manipulation
Creating a Custom Handler
Retrieving a List (GET)
Creating an Item (POST)
Retrieving an Item (GET)
Replacing an Item (PUT)
Updating an Item (PATCH)
Removing an Item (DELETE)
Retrieving Headers (HEAD)
Retrieving Options (OPTIONS)

Testing and Profiling

Why Are Tests Important?
An Ideal Unit Test
A Minimum Viable Unit Test
Benchmarking
Caching
Creating a Custom Writer
Mocking for Unit Tests
Benchmarking Cached Code

Frameworks and Middleware

Echo Framework
5.2 First Steps in Echo
Recreating Our API in Echo
Middleware
Summary

Screenshots

Building RESTful APIs with Go - Screenshot_01Building RESTful APIs with Go - Screenshot_02Building RESTful APIs with Go - Screenshot_03Building RESTful APIs with Go - Screenshot_04

Reviews

Gilang
June 17, 2023
As a beginner in Golang, i have been some confuses because of explanation that to fast for me some flows not running well that i must be find out in related website like how to init module or install some packages but its help me for common in Golang thanks
Mbicycledevs
May 23, 2022
I wouldn't say I liked this course. SOLID is ignored, no word about application structure - author should improve skills before teaching:)
Mo
February 27, 2020
With all due respect to the instructor, here's my feedback to him: - As non-native English speaker (don't get me wrong, English is my 2nd language, too), you should speak clearly with a reasonable intonation; not just speaking as you're reading from a text book and not caring about your audience - Teaching should be your calling, it shouldn't sound like you're forced to do it and you're rushing through it just to get it done, no matter with what quality - The way you taught this lesson, it seems like all the subjects are at the same level of importance (which is not true). You should emphasize on some, while being more relaxed on others - As a software Engineer with more than 2 decades of hands-on coding, the code you showed throughout the course is far from best practices - I would give no star to this course if I could - Unfortunately the 1-month money back period is over for me. You owe me the price I paid for this course.
운용
February 10, 2020
내용은 간결하고 좋습니다 :D 하지만 강사의 말을 이해하기 어려워서 스크립트를 보면서 들었습니다만, 음성입력으로 제작된건지 스크립트도 제대로 안나와서 몇번씩 돌려보면서 보고 있습니다. 빡세요.
Ashish
August 21, 2019
Honestly, the course content is exactly why I took this course. But the only issue I face is comprehending the instructor's accent. I most of the time could not understand a thing he was trying to explain. Other than that, this course is very good!
Axel
July 18, 2019
Great course. Straight to the point, and just what I needed to be able to understand how APIs work and how to create my own within a couple of hours
Ali
May 16, 2019
I came into this course looking for a quick intro to building a REST API with Go in a couple of hours. This course is exactly what I was looking for. No extra fluff teaching different DB types or how to use the Go language or explaining http response/requests, etc. This course teaches exactly what you came for and wastes no extra time.

Charts

Price

Building RESTful APIs with Go - Price chart

Rating

Building RESTful APIs with Go - Ratings chart

Enrollment distribution

Building RESTful APIs with Go - Distribution chart

Related Topics

2136218
udemy ID
1/8/2019
course created date
5/6/2020
course indexed date
Bot
course submited by