Screen to API

Supanut Weerachotthakorn
Instructor

Break a real UI into 17 APIs, build them with Go Fiber + PostgreSQL on Clean Architecture, write tests, then deploy to a live site together.

≥ 24 hours 1 minute
54 lessons
Backend & API
Online · video
Thai
12 months of access
Starts 12 December 2026
Course materials for every lesson
Certificate when you finish

Free scholarship: 5 seats

Applications open until 5 Dec 2026

Our team will call applicants between 6–8 Dec 2026. Please pick up calls from unknown numbers then

If you get the scholarship, finish every lesson by 31 Jan 2027

Apply for a free scholarship
Want to be sure of a place? Pre-order at the special price of ฿990 (until 11 Dec 2026). It does not affect your application, and if you get the scholarship we refund you in full

How the free scholarship works

  1. 1Apply before 5 Dec 2026 23:59. Tell us why you want to learn, leave your phone number and read every condition
  2. 2Our team calls you once, between 6–8 Dec 2026. If you miss the call, contact us back. If a seat is still free the team confirms it; if the seats are full you will not get a scholarship this time
  3. 3Results by 11 Dec 2026. Scholars get an email, and you can always check in "My courses"
  4. 4Finish by 31 Jan 2027, then tell the team about your experience. We will ask to record a short interview to introduce the course

Course details

Have you ever been here? You get a set of UI screens and you're asked to build the backend, but when you open them, you don't know where to start. How many APIs does this page need? What should each one accept, and what should it send back? If you've ever been stuck right there, I made this course to get you past it, together.

Got the screens but don't know where to start the API

In Screen to API, I'll take you from what you actually see on the screen. We'll use an online store front end I've already built for you, break it down page by page until we have all 17 APIs, and design every request and response in Bruno so the picture is clear before we write a single line of code. Then we build them together, one endpoint at a time, with Go Fiber and PostgreSQL, structured with Clean / Hexagonal Architecture the way real teams do it from the very first endpoint. We write unit tests, connect to the real front end, and deploy it to the internet so you can open it on a real URL.

Screen to API: start from the screen, design in Bruno, build with Go Fiber, deploy

Along the way you'll get hands-on with 12 real tools:

  • Go + Fiber — the language and framework we use to build the API

  • PostgreSQL + SQL — the database; you write every SQL statement yourself and see exactly where your data goes

  • Supabase — a cloud database, nothing extra to install on your machine

  • Bruno — design and test every API endpoint

  • Git + GitHub — fork the project and keep your own code

  • Docker — package the backend for production

  • Vercel — deploy the front end and the API together

  • Nuxt — the store front end I've prepared for you to connect to your API

  • Make — turn long commands into a single one

The 12 tools used in Screen to API

By the end, you'll have a deployed online store with 17 APIs you wrote yourself. Put it straight into your portfolio.

What is Screen to API, and what makes it stand out?

Screen to API is a way of thinking I want you to keep: start from what the user sees on the screen, then work backwards to what the backend needs. Every button you click and every page you open is one API call. Once you can read a screen, you can design APIs that are easy for the front end to use.

Every click is an API call

Four things I built into this course

Four things built into this course
  • Design before you code — you get a Bruno collection that says exactly how many endpoints there are, what each one accepts and which status code it returns, before you write any Go

  • Learn Go through real work — struct, slice, map, pointer, error, interface, middleware and transaction show up when you actually need them, not as separate syntax lessons

  • The structure real teams use — handler, service and storage separated with Clean / Hexagonal principles and wired together with dependency injection from the first endpoint

  • Finish in production — connect to a real front end, then deploy the front end, API and database to the cloud, with a store you can open on a real URL

Who is this course for?

Who this course is for

Front-end developers who want to write their own API

You want to know what a good API for the front end looks like, and you want to build your own backend. This course is for you.

IT and Computer Science students

You want a portfolio project that's deployed and actually works, not just code on your laptop.

Developers coming from another language who want to try Go

You've written Node.js, PHP, Python or Java and want to see how a real Go project is structured.

People who've tried Go from tutorials

You can follow along, but on a real project you're not sure how to lay out files and split layers. I'll walk you through it layer by layer.

Before you start: you just need some programming experience in any language (variables, if, loops, functions) and basic terminal and Git skills. I'll take you through the rest.

What you'll get from this course

What you'll get from this course
  • Read a UI screen and break it into API endpoints with request, response and status code, separating public and private APIs

  • Understand HTTP fully: methods, status codes, content types, headers, body and token authentication

  • Structure a Go project with Clean / Hexagonal Architecture and know which layer each piece of code belongs in

  • Write 17 REST APIs with Go Fiber and raw SQL on PostgreSQL, safe from SQL injection

  • Build a sign-up and login system with bcrypt + JWT, and unit test services with a fake repository

  • Connect the API to a real front end, fix CORS, debug with the network inspector and deploy to production yourself

Course content in detail

The 7 course modules

1. Overview — what you'll get

I'll open the deployed store so you can see where we're heading, open the Network tab to show that every click is one API call, and explain how to get through the course without dropping off.

2. Fork & Setup — get your machine ready

We install Git, Go, Node (via nvm), VS Code, Make and Bruno together, fork and clone the course project, meet the Makefile, sign up for Supabase, set up .env and create the tables. Run make dev and the store appears on your machine, but empty, because the API hasn't been written yet. That's exactly where we start.

3. Breaking APIs out of the UI

First I'll lay the groundwork: API vocabulary, REST and endpoint naming, sending data through path, query, body and header, HTTP methods and CRUD, common status codes, content types, public vs private APIs and sending tokens, and how a request travels from the browser to the database. Then we break the store down together, section by section (home and products, sign-up and login, cart, orders and back office), until we have a complete Bruno collection of 17 endpoints.

4. Project structure

Lay out the project with Clean Architecture, get to know the Hexagonal idea (ports and adapters) and dependency injection, learn file and package naming, and trace which files a single request passes through.

5. Building the APIs one by one

Every endpoint follows the same loop: check the design in Bruno → router → handler → service → storage → make Bruno pass → recap the Go basics you used

The loop for building one endpoint
  • Public endpoints — categories, product list, search and pagination, featured products, product details, and a shared error format

  • Members — sign-up with bcrypt, login with JWT, middleware that checks the token

  • Cart and orders — add, update and remove cart items, create orders with a transaction, view history and check ownership

  • Back office — role middleware, updating order status and adding products (with an exercise to try on your own before you see the solution)

6. Testing and connecting the front end

Write your first unit test with a fake repository that runs without a database, move on to table-driven tests, connect the real front end, fix CORS, debug with the network inspector, and recap all the Go basics you picked up across the 17 endpoints.

7. Basic deployment

See the production system as a whole, set up Supabase for production, write a Dockerfile and understand graceful shutdown, deploy on Vercel with the front end and API in one project, and test the full flow in production. We wrap up by reviewing what you built, and I'll suggest what to learn next.

Learn Go through 17 APIs

Learn Go through 17 APIs

Endpoint

Go basics you'll use

Product categories

struct, slice, for range, JSON tags, defer, interface

Product list + search

strconv, if, default values, map, pagination

Product details

errors, multiple return values, pointers, errors.Is

Sign-up

validation, custom errors, constants

Login

time, JWT claims

Profile

middleware, c.Locals, type assertion

Cart

methods on structs, upsert, switch, pointer fields

Create order

transaction, defer rollback, loops

Order history

nested slices, time formatting, ownership checks

Back office

role middleware, constants + switch

Why I start from the screen

Most real work starts with screens a designer or front-end team sends over. If you can read a screen, you know right away how many endpoints you need, which are public, which need a login, and which status code each should return. APIs designed from the screen are easy to use and don't need to be reworked later.

As for Go, I believe you remember it best when you actually use it. Your first endpoint gives you struct and slice, the search endpoint gives you map and type conversion, the order endpoint gives you transactions. By the time you finish all 17, your Go basics are complete too.

Let's start Screen to API

Fork the course project and code along with me, one endpoint at a time. If you fall behind, don't worry: check out that lesson's git tag and carry on right away. By the end of this course you'll have a deployed online store with 17 APIs you wrote yourself. See you in class!

Course content

7 sections · 54 lessons · ≥ 24 hours 1 minute
1โมดูล 1 — Overview4 lessons · 3 minutes
เรียนคอร์สนี้แล้วได้อะไร
Opens 12 December 2026
แผนที่ 7 โมดูลและร้านค้าปลายทาง
Opens 12 December 2026
สอนต่างจากที่อื่นยังไง
Opens 12 December 2026
วิธีเรียนและเกณฑ์ผ่านคอร์ส
Opens 12 December 2026
2โมดูล 2 — Fork & Setup7 lessons
เครื่องมือที่ต้องใช้
Opens 12 December 2026
ติดตั้ง Git, Go, Node, VS Code
Opens 12 December 2026
Fork และ clone monorepo
Opens 12 December 2026
Make คืออะไร
Opens 12 December 2026
สมัคร Supabase และตั้งค่า .env
Opens 12 December 2026
Bruno ใน VS Code
Opens 12 December 2026
make dev
Opens 12 December 2026
3โมดูล 3 — แตก API จากหน้า UI12 lessons
Overview: ต้องรู้อะไรบ้างถึงแตก API ได้
Opens 12 December 2026
คำศัพท์สาย API
Opens 12 December 2026
REST API คืออะไร
Opens 12 December 2026
หน้าตาของ request
Opens 12 December 2026
Method และ CRUD
Opens 12 December 2026
HTTP status code
Opens 12 December 2026
Content type
Opens 12 December 2026
Public API vs private API
Opens 12 December 2026
ภาพรวมการวิ่งของ API
Opens 12 December 2026
แตก API: หน้าแรก รายการสินค้า รายละเอียด
Opens 12 December 2026
แตก API: สมัคร login โปรไฟล์
Opens 12 December 2026
แตก API: ตะกร้า คำสั่งซื้อ admin
Opens 12 December 2026
4โมดูล 4 — โครงสร้างโปรเจกต์6 lessons
Overview: ต้องรู้อะไรบ้างถึงเขียน API ได้
Opens 19 December 2026
วางโครงสร้างด้วย Clean Architecture
Opens 19 December 2026
Hexagonal concept
Opens 19 December 2026
Dependency Injection
Opens 19 December 2026
หลักการตั้งชื่อไฟล์และ package
Opens 19 December 2026
ภาพรวมการวิ่งของ request ผ่านไฟล์
Opens 19 December 2026
5โมดูล 5 — เขียน API ทีละเส้น13 lessons
อ่าน main.go และ /healthz
Opens 19 December 2026
GET /api/categories
Opens 19 December 2026
GET /api/products
Opens 19 December 2026
สินค้าแนะนำและรายละเอียดสินค้า
Opens 19 December 2026
Error format กลางและ logging
Opens 19 December 2026
สมัครสมาชิก
Opens 19 December 2026
Login
Opens 19 December 2026
GET /api/me
Opens 19 December 2026
ดูตะกร้าและใส่สินค้า
Opens 19 December 2026
แก้จำนวนและลบสินค้าในตะกร้า
Opens 19 December 2026
สร้างคำสั่งซื้อ
Opens 19 December 2026
ประวัติและรายละเอียดคำสั่งซื้อ
Opens 19 December 2026
เส้น admin
Opens 19 December 2026
6โมดูล 6 — Test และต่อ frontend5 lessons
Unit test แรก
Opens 26 December 2026
Table-driven test
Opens 26 December 2026
ต่อ frontend จริงและ CORS
Opens 26 December 2026
ไล่ปัญหาด้วย Inspect Network
Opens 26 December 2026
สรุปพื้นฐาน Go จากทั้ง 17 เส้น
Opens 26 December 2026
7โมดูล 7 — Basic Deployment7 lessons
ภาพรวมระบบบน production
Opens 26 December 2026
Supabase production
Opens 26 December 2026
Dockerfile
Opens 26 December 2026
Deploy บน Vercel
Opens 26 December 2026
ต่อหน้าเว็บกับ API ด้วย rewrite
Opens 26 December 2026
ทดสอบบน production
Opens 26 December 2026
ปิดคอร์ส
Opens 26 December 2026
Already bought this course? Open it on E-Learning
  • ออกแบบ API
  • เขียน API
  • Go ภาษาไทย
  • Go Fiber
  • PostgreSQL
  • API
  • Golang
  • Backend
  • REST API
  • SQL
  • Supabase
  • Clean Architecture
  • Hexagonal Architecture
  • JWT
  • Unit Test
  • Bruno
  • Docker
  • Vercel
  • Deploy

Other courses you may like

See all courses
Pre-order
฿990฿4,990
Add to cartPre-order this course