Practice It: Go REST API Server
2h 42mIntermediate2022-11-09
Authors

Martine Moses
Back-End and Integration Developer
Course details
Go is one of the hottest programming languages today. Familiarity with it empowers you to go after a job or project that uses Go as its programming language. In this course, instructor Martine Moses goes over golang basics, such as project layout, creating Go modules, and importing your own libraries and modules or third-party libraries and modules. She also shows you the processes for creating a rest server, creating routers and handlers, and working with a database.
Skills covered
GoGoogleProgramming LanguagesSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Programming in Go
- 02 - What you should know
- 03 - Using GitHub Codespaces with this course
1. Some Basics
- 04 - Installing Go and third-party libraries
- 05 - Hello World
- 06 - Creating a new module
- 07 - Try it - Move functions to a new module
- 08 - Check it - Move functions to a new module
2. Some Advanced Basics
- 09 - Methods vs. functions
- 10 - Structs and receiver methods
- 11 - Pointers vs. value methods
- 12 - The database
- 13 - Try it - Create a struct and receiver methods
- 14 - Check it - Create a struct and receiver methods
3. The Rest API Server
- 15 - Using a router
- 16 - Try it - Add the router
- 17 - Check it - Add the router
- 18 - Creating handlers - GET
- 19 - Creating handlers - POST
- 20 - Try it - Create the order handler
- 21 - Check it - Create the order handler
4. POST and Beyond
- 22 - Integration tests
- 23 - Try it - Create integration tests
- 24 - Check it - Create integration tests
Conclusion
- 25 - Next steps