Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,16 @@ GreenCode/
└── docker-compose.yml # Docker orchestration




## Simplified Architecture Guide (For Beginners)

GreenCode is built using three main layers:

1. **Frontend** — The React user interface that people interact with in the browser.
2. **Backend API** — A Spring Boot application that handles all business logic and data processing.
3. **Database** — PostgreSQL stores all data permanently, while H2 is used for testing.

These three layers communicate with each other over HTTP using REST APIs.
When a user clicks a button on the frontend, a request is sent to the backend,
which then reads or writes data to the database and sends a response back.