简体中文 / [English]


Building a Chat App with Spring Boot + React Ep.0 - Concept and Introduction

 

This article is currently an experimental machine translation and may contain errors. If anything is unclear, please refer to the original Chinese version. I am continuously working to improve the translation.

This series documents my journey of learning Spring and React from scratch while building a small project. It's meant for personal reflection and reference, not as a formal tutorial. For an overview of the project, check out Ep.0 of this series.

Preface

A long, long time ago, I taught myself Java SE and built a very rudimentary chat application using TCP sockets, MySQL, and Swing. (Server, Client)

Time flies, and much has changed (or maybe just the stars have shifted? 🌌). Now that my skills have improved somewhat, revisiting that old code reveals countless issues.

I’ve had the idea to learn some Java frameworks for a while. As a current software engineering student, it’d be kind of embarrassing to admit I don’t know Spring.

So I decided to spend some spare time learning and practicing Spring development—kind of like a rewrite of my old project (though in reality, it’s a complete ground-up rebuild).

Let’s see what kind of code I can write now!

Plan

No full architectural plan has been made upfront—I’ll design and code as I go, which works fine for a personal side project.

I’m using GitHub to manage the codebase, and it’s already open source. Progress is slow but steady.

The backend will be built with Spring Boot to provide RESTful APIs, using MySQL for data persistence and Redis for caching. Additional dependencies will be added as needed.

The frontend will be implemented with React—details coming in later posts of this series.

For API documentation and management, I’ll be using Apifox.

This article is licensed under the CC BY-NC-SA 4.0 license.

Author: lyc8503, Article link: https://blog.lyc8503.net/en/post/my-chat-0-introduction/
If this article was helpful or interesting to you, consider buy me a coffee¬_¬
Feel free to comment in English below o/