後端開發
Node.js、NestJS、Spring Boot、Python 後端、Socket、Nginx 與金流整合的伺服器端開發。
Exercise 3: File Transfer Application
Build a file transfer server and client that can reliably transfer files over TCP, handling large files and showing progress.
閱讀文章 →Exercise 4: Simple HTTP Server
Build a minimal HTTP/1.0 server that can serve static files and handle basic HTTP requests.
閱讀文章 →Nonblocking I/O
Nonblocking I/O allows sockets to perform operations without waiting. This is essential for handling multiple connections efficiently in a single thread.
閱讀文章 →Socket Security Fundamentals
Security is critical in network programming. This module covers fundamental security concepts and practices for socket applications.
閱讀文章 →How HTTPS Talks: Client and Server Communication
HTTPS is HTTP over TLS Transport Layer Security. The application data HTTP is unchanged; the difference is that it is sent over an encrypted, authenticated channel. This module explains how that channel is set up and how
閱讀文章 →Socket Programming Quick Reference
A quick reference guide for common socket programming tasks and patterns.
閱讀文章 →Socket Programming Comprehensive Teaching Materials
A complete educational resource for learning socket programming from fundamentals to advanced topics.
閱讀文章 →C Socket Examples
Minimal TCP, UDP, and HTTPS client examples matching the Python versions in ../python/.
閱讀文章 →Spring Boot Teaching Materials — Beginner to Expert
Comprehensive, classroomready materials for teaching Spring Boothttps://spring.io/projects/springboot from absolute beginners to advanced practitioners. Includes written modules and runnable code.
閱讀文章 →Spring Boot Code Examples
Working code for the Spring Boot Teaching Materials../materials/README.md.
閱讀文章 →Spring Boot Advanced Code
Corresponds to Modules 9–12 Testing, Actuator, Production Deployment, Microservices patterns.
閱讀文章 →Spring Boot Beginner Code
Corresponds to Modules 1–4 What is Spring Boot, Setup, First Application, Core Concepts.
閱讀文章 →Spring Boot Intermediate Code
Corresponds to Modules 5–8 REST APIs, Spring Data JPA, Spring Security, Configuration.
閱讀文章 →Module 1: What is Spring Boot?
Explain what Spring Boot is and why it exists Distinguish Spring Framework from Spring Boot List key features and benefits Understand “convention over configuration”
閱讀文章 →Module 2: Environment Setup
Install JDK 17+ and verify the installation Choose and set up a build tool Maven or Gradle Use Spring Initializr to generate a project Run the generated app from IDE and command line
閱讀文章 →Module 3: Your First Application
Understand the default project structure Know the role of the main class and @SpringBootApplication Create a simple REST controller and return JSON Use application.properties for basic configuration
閱讀文章 →Module 4: Core Concepts — IoC, DI, and AutoConfiguration
Explain Inversion of Control IoC and the Spring container Use Dependency Injection DI via constructor injection Understand stereotypes: @Component, @Service, @Controller, @Repository Describe how autoconfiguration works
閱讀文章 →Module 5: Building REST APIs
Map HTTP methods GET, POST, PUT, PATCH, DELETE to controller methods Use path variables, request parameters, and request bodies Handle validation and error responses Apply REST conventions status codes, resource naming
閱讀文章 →Module 6: Spring Data JPA
Define JPA entities and map them to tables Create Spring Data JPA repositories interfaces Use derived query methods and @Query Understand transactions and basic best practices
閱讀文章 →Module 7: Spring Security
Add Spring Security and understand default behavior all endpoints protected Configure permitAll / authenticated / hasRole Implement inmemory and userdetails–based authentication Protect REST APIs with stateless JWT conce
閱讀文章 →Module 8: Configuration & Profiles
Use application.properties and application.yml Activate profiles dev, test, prod and profilespecific files Inject configuration with @Value and @ConfigurationProperties Understand externalized configuration and precedenc
閱讀文章 →Module 9: Testing
Write unit tests with JUnit 5 and Mockito Test REST controllers with MockMvc Run integration tests with @SpringBootTest and Testcontainers conceptual Use test slices @WebMvcTest, @DataJpaTest for focused tests
閱讀文章 →Module 10: Actuator & Monitoring
Add Spring Boot Actuator and expose endpoints Use health, info, metrics, and env endpoints Secure actuator endpoints and customize health Understand production monitoring practices
閱讀文章 →Module 11: Production Deployment
Build a productionready executable JAR Configure for production profiles, external config, logging Understand containerization with Docker Apply basic production best practices health, security, no default passwords
閱讀文章 →