diff --git a/README.md b/README.md index f04c205..c89b049 100644 --- a/README.md +++ b/README.md @@ -36,14 +36,13 @@ Journi is a web application for journaling and visualizing travel experiences. U ## Backend — Firebase -![Database diagram](/DB-diagram.PNG) +![Firestore diagram](public/DB-diagram.PNG) -| Service | Purpose | -|---------|---------| -| **Authentication** | Google account sign-in via `GoogleAuthProvider` | -| **Firestore** | Stores user profiles (`users/{uid}`) and journal entries (`users/{uid}/entries/{id}`) | -| **Storage** | Stores uploaded trip photos, accessed per user | -| **Security rules** | Simple per-user access — only authenticated users can read/write their own data | +Journi uses Firebase as its backend. Users sign in with Google through Firebase Authentication, and their data is linked to their user ID. + +Firestore stores user profiles in `users/{uid}` and journal entries in `users/{uid}/entries/{id}`. Firebase Storage stores uploaded trip photos. + +Firebase Security Rules protect the data, so authenticated users can only read and write their own profiles, entries, and photos. ---