Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
How to Build REST Application with Golang
Rating: 2.3 out of 5(18 ratings)
98 students

How to Build REST Application with Golang

Go: the Great Stack for RESTful Services
Last updated 12/2020
English

What you'll learn

  • In the end of my course you will learn how to build a RESTful API with Go. You used MongoDB as the data store for the RESTful API application in which you organized the application logic into multiple packages to easily maintain the application.

Course content

1 section6 lectures43m total length
  • Introduction6:14

    Explore the design philosophy of building small pieces of software and how to update them, emphasizing practical steps to bring usable applications to the market.

  • Routing7:05

    Explore routing in a Golang rest application, wiring controllers to handle requests and control the flow of data.

  • Connection to database, model task5:35

    Learn to connect to a database in a Go rest application and create a task model for database operations.

  • Model tasks, creating methods7:45

    Model tasks and create necessary methods for a Golang rest application, outlining how to implement and manage core API operations.

  • Controller task13:24

    Learn the controller task in building a rest application with Golang, as outlined by the course on building a rest application with Golang, to understand the role of controllers.

  • Curl, testing API3:20

    Explore curl for testing an API in a Golang REST application, validating endpoints and ensuring reliable API behavior through practical, hands-on steps.

Requirements

  • You should have basic level of knowledge in CRUD, mongoDB and go language

Description

How to Build RESTful Applications with Golang

In this comprehensive course, you will learn how to design and implement scalable, efficient web services using the REST architectural style. RESTful systems communicate over the Hypertext Transfer Protocol (HTTP), leveraging standard HTTP verbs such as GET, POST, PUT, and DELETE to manipulate resources. You’ll explore the six essential REST constraints defined by Roy Fielding:

  • Uniform Interface

  • Statelessness

  • Cacheability

  • Client-Server Architecture

  • Layered Systems

  • Code on Demand (optional)

These principles ensure scalability, reliability, and simplicity in distributed applications by promoting loose coupling and clear communication between components. Understanding these constraints is critical for building well-architected APIs that can scale and perform efficiently under heavy loads.

The course emphasizes Go (Golang) as a powerful technology stack for building microservices and RESTful APIs. Go’s design philosophy encourages the creation of small, reusable software components, which are composed to build maintainable and scalable applications. You’ll get hands-on experience writing idiomatic Go code and structuring projects following best practices and industry standards.

With Go’s strong support for concurrency, fast compilation times, and minimal runtime overhead, you’ll build high-performance microservices suitable for modern distributed environments. By course completion, you’ll confidently create robust RESTful applications in Go, ready to deploy efficiently in real-world projects and production environments with ease.

Who this course is for:

  • It can be helpful from high school level