Programming Study日本語

Disclosure: We earn a commission from Udemy when you buy a course through links on this page.

Go Programming: Build REST APIs with PostgreSQL & Next.js

Go Programming: Build REST APIs with PostgreSQL & Next.js

Udemy · English

About this course

Language
English
Category
Provider
Udemy
Data updated

Learn Go by building an application step by step—from your first program to an authenticated REST API connected to a Next.js frontend. This course starts with the fundamentals and introduces new concepts as we need them. You’ll write the code, understand what it does, and test the application as it grows. We begin by installing Go and preparing your development environment. You’ll learn variables, constants, types, conditions, loops, arrays, slices, maps, functions, and error handling. We’ll then explore structs, pointers, and methods so you can organize data and understand the code behind our API.Next, you’ll build an HTTP server using Go’s standard library. You’ll register routes, handle incoming requests, decode JSON, validate input, and return responses with appropriate HTTP status codes. You’ll connect the application to PostgreSQL using Neon and pgx, create related database tables, and keep configuration outside your source code using environment variables. Authentication comes next. Together, we’ll implement registration, password hashing with bcrypt, login, session storage, HttpOnly cookies, protected routes, and logout. You’ll see how the application identifies a logged-in user and controls access to their data. With authentication in place, you’ll build a blog REST API with post creation, listing, updates, deletion, drafts, and publishing. Ownership checks will ensure that users can modify only their own posts. Finally, you’ll implement CORS middleware and build a focused Next.js frontend using TypeScript, Tailwind CSS, and shadcn/ui. Server Components and Server Actions will connect the interface to your Go backend, including login, logout, and protected post creation. By the end, you’ll have practical experience building a Go backend, working with PostgreSQL, implementing session authentication, and connecting an API to a frontend. Basic programming knowledge is helpful. No prior Go experience is required, and basic React knowledge is recommend…

Check the price and reviews on the Udemy course page.

Courses in the same category