後端開發
Node.js、NestJS、Spring Boot、Python 後端、Socket、Nginx 與金流整合的伺服器端開發。
Module 1: What is Spring Boot?
Summary: Spring Boot is not a replacement for Spring; it is a way to use Spring with less configuration and faster development.
閱讀文章 →Module 2: Environment Setup
Option A: Eclipse Temurin (recommended): Download: adoptium.net Choose JDK 17 or 21 LTS
閱讀文章 →Module 3: Your First Application
After generating from Spring Initializr you typically have: src/main/java — application code src/main/resources — config, static files, templates src/test/java — tests
閱讀文章 →Module 4: Core Concepts — IoC, DI, and Auto-Configuration
Your code creates and configures dependencies
閱讀文章 →Module 5: Building REST APIs
REST conventions: Use nouns for resources (e.g. /users, /orders), HTTP methods for actions.
閱讀文章 →Module 6: Spring Data JPA
Add to pom.xml (Maven) or build.gradle (Gradle)
閱讀文章 →Module 7: Spring Security
Once added, every request is secured: default login form, default user, and all endpoints require authentication unless configured otherwise.
閱讀文章 →Module 8: Configuration & Profiles
Both live in src/main/resources. Spring Boot loads them automatically.
閱讀文章 →Module 9: Testing
Spring Boot starters include JUnit 5 and Mockito. For MockMvc you need spring-boot-starter-web (and usually spring-boot-starter-test, which brings AssertJ, Hamcrest, Mockito, and JSON path).
閱讀文章 →Module 10: Actuator & Monitoring
By default, only /actuator/health is exposed over HTTP (and often only a simple status). You configure which endpoints are exposed and whether they show details.
閱讀文章 →Module 11: Production Deployment
Spring Boot packages the application and embedded server into a single “fat” JAR.
閱讀文章 →Module 12: Microservices Patterns with Spring Boot
Spring Boot is well-suited for implementing each service: stand-alone JARs, embedded server, and a rich ecosystem (Spring Cloud, Spring Cloud Netflix, etc.).
閱讀文章 →Spring Boot Teaching Materials: Beginner to Expert
A comprehensive, classroom-ready curriculum for teaching Spring Boot from absolute beginners to advanced practitioners. Designed for instructors and self-learners.
閱讀文章 →Stripe Python Demo
Comprehensive Python examples showing how to use Stripe for payments, subscriptions, invoicing, webhooks, and more. All code uses the official Stripe Python SDK.
閱讀文章 →