If you're eager to advance your programming skills, mastering Go is essential in today's tech environment. This course offers a deep dive into Go programming, focusing on building efficient and scalable microservices using REST-based APIs.
Recommended experience
What you'll learn
Create modular and reusable code with Go modules.
Analyze the integration of external packages into Go projects.
Implement refresh token functionality for secure authentication in Go.
Evaluate and optimize Go code for efficient microservices development.
Skills you'll gain
Details to know
Add to your LinkedIn profile
August 2024
6 assignments
See how employees at top companies are mastering in-demand skills
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
There are 6 modules in this course
In this module, we will introduce the course and discuss its objectives, providing a roadmap for what you will learn. We will also cover the essential tools required for developing REST-based microservices APIs in Go, including setting up your development environment and understanding the tools that will be used throughout the course.
What's included
2 videos1 reading
In this module, we will cover the fundamentals of building and configuring an HTTP web server in Go, starting with a simple "Hello World" example. We'll delve into JSON and XML encoding, teaching you how to marshal data and handle headers. Additionally, we'll refactor our codebase for better organization with Go modules and explore the advanced routing features of the gorilla/mux library to enhance your API capabilities.
What's included
5 videos1 assignment
In this module, we will delve into advanced application development techniques in Go, starting with the principles of hexagonal architecture and practical implementation in a banking application. You'll learn to build a database adapter, handle errors effectively, and conduct structured logging with uber/zap. We will also cover the use of Sqlx for database interactions, managing application configuration with environment variables, and practical assignments to enhance API functionalities, such as creating new bank accounts and handling transactions.
What's included
18 videos1 assignment
In this module, we will focus on securing your Go application by implementing robust authentication and authorization mechanisms. We'll start with an overview of security strategies and best practices, followed by a deep dive into JWT tokens for managing user authentication. You will learn to build an authentication server with login and verification APIs, implement role-based access control, and use middleware for token verification to maintain the security and integrity of your APIs.
What's included
4 videos1 assignment
In this module, we will delve into the fundamentals of unit testing, starting with state-based testing to ensure the functionality of your code. You'll learn to differentiate between mocks and stubs, and how to use them effectively for testing routes. We will also cover unit testing for services, focusing on writing reliable tests and refactoring code to enhance readability and reliability. By the end of this module, you'll be equipped with the skills to write robust unit tests that shorten feedback loops and improve your development process.
What's included
3 videos1 assignment
In this module, we will delve into advanced topics essential for building robust and maintainable microservices in Go. We'll start with an overview of the concepts, followed by extracting reusable components from our banking project to create Go modules. You'll learn to integrate these modules into different APIs, refactor APIs for better maintainability, and understand the use of refresh tokens for enhanced security. By the end of this module, you'll be proficient in creating secure, efficient, and reusable components for your microservices architecture.
What's included
9 videos2 assignments
Instructor
Offered by
Recommended if you're interested in Software Development
Why people choose Coursera for their career
New to Software Development? Start here.
Open new doors with Coursera Plus
Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy
Frequently asked questions
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.