S SmartDocs

后端开发

Node.js、NestJS、Spring Boot、Python 后端、Socket、Nginx 与支付集成的服务器端开发。

spring boot EN 更新于 2026-02-03

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.

阅读文章 →
spring boot EN 更新于 2026-02-03

Module 2: Environment Setup

Option A: Eclipse Temurin (recommended): Download: adoptium.net Choose JDK 17 or 21 LTS

阅读文章 →
spring boot EN 更新于 2026-02-03

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

阅读文章 →
spring boot EN 更新于 2026-02-03

Module 4: Core Concepts — IoC, DI, and Auto-Configuration

Your code creates and configures dependencies

阅读文章 →
spring boot EN 更新于 2026-02-03

Module 5: Building REST APIs

REST conventions: Use nouns for resources (e.g. /users, /orders), HTTP methods for actions.

阅读文章 →
spring boot EN 更新于 2026-02-03

Module 6: Spring Data JPA

Add to pom.xml (Maven) or build.gradle (Gradle)

阅读文章 →
spring boot EN 更新于 2026-02-03

Module 7: Spring Security

Once added, every request is secured: default login form, default user, and all endpoints require authentication unless configured otherwise.

阅读文章 →
spring boot EN 更新于 2026-02-03

Module 8: Configuration & Profiles

Both live in src/main/resources. Spring Boot loads them automatically.

阅读文章 →
spring boot EN 更新于 2026-02-03

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).

阅读文章 →
spring boot EN 更新于 2026-02-03

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.

阅读文章 →
spring boot EN 更新于 2026-02-03

Module 11: Production Deployment

Spring Boot packages the application and embedded server into a single “fat” JAR.

阅读文章 →
spring boot EN 更新于 2026-02-03

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 EN 更新于 2026-02-03

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 demo EN 更新于 2026-02-03

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.

阅读文章 →