Integration Practice
Add:
LocalDateTime
field for created date.
File export using BufferedWriter
.
Show how CRUD can combine with File I/O and DateTime.
User.java
(extended)
UserRepository.java
(extended)
Main.java
(integration practice)
Learned how to combine multiple topics: CRUD + collections + I/O + LocalDateTime
.
Used Map
for simple in-memory database.
Added export to file using BufferedWriter
.
Added creation timestamps using LocalDateTime
.
This small structure can scale to real databases, web APIs, and even Spring Boot REST services.
Itโs a perfect starting point for your first real CRUD back-end logic!