How yogank09/memorysaver works
MemorySaver is a React photo-storytelling and social-memory application backed by Appwrite. The main workflow restores or creates a session, enters the application shell, and lets users discover, publish, and revisit memories. Separate branches cover profiles and follows, interactions and notifications, highlights, and account settings. Some page implementations and the shell were not sampled; those capabilities and links are included only where the README or source index supports them.
Main entry points: AppShell.jsx App shell · App.jsx App bootstrap · Profile.jsx My profile · auth.js Authentication service
Components 22
Application
- App bootstrap
src/App.jsx - App shell
src/Components/Layout/AppShell.jsx - Auth state
src/store/authSlice.js - Authentication pages
src/pages/PhoneLogin.jsx
Memory sharing
- Memory feed
src/pages/Home.jsx - Explore memories
src/pages/Explore.jsx - Publish memory
src/Components/PostForm/PostForm.jsx - Memory detail
src/pages/Post.jsx - Saved memories
src/pages/Bookmarks.jsx
Social features
- My profile
src/pages/Profile.jsx - User profiles
src/pages/UserProfile.jsx - People discovery
src/pages/Users.jsx - Follow system
src/utils/followService.js - Notifications
src/pages/Notifications.jsx - Messaging
src/pages/Messages.jsx - Post interactions
src/context/InteractionContext.jsx - Story highlights
src/hooks/useHighlights.js
Identity and services
- Authentication service
src/appwrite/auth.js - Appwrite data and media
src/appwrite/config.js - Appwrite client
src/appwrite/client.js - Browser storage
src/utils/safeStorage.js
Other components
- Visitor
Connections 28
- Visitor → App bootstrap: opens
src/App.jsx - App bootstrap → Authentication service: restores session
src/App.jsx - App bootstrap → Auth state: dispatches auth
src/App.jsx - App bootstrap → App shell: renders
src/App.jsx - Authentication service → Appwrite client: uses
src/appwrite/auth.js - Appwrite client → Browser storage: restores token
src/appwrite/client.js - Auth state → Browser storage: persists guest state
src/store/authSlice.js - Authentication pages → Authentication service: authenticates
- App shell → Memory feed: routes to
- App shell → Explore memories: routes to
- App shell → Publish memory: routes to
- App shell → My profile: routes to
- App shell → User profiles: routes to
- App shell → People discovery: routes to
- App shell → Notifications: routes to
- App shell → Messaging: routes to
- App shell → Memory detail: routes to
- App shell → Saved memories: routes to
- Publish memory → Appwrite data and media: publishes media
src/Components/PostForm/PostForm.jsx - My profile → Appwrite data and media: loads memories
src/pages/Profile.jsx - My profile → Story highlights: manages highlights
src/pages/Profile.jsx - My profile → Post interactions: reads interactions
src/pages/Profile.jsx - User profiles → Follow system: uses follow system
src/pages/UserProfile.jsx - People discovery → Follow system: supports following
- Notifications → Follow system: shows follow alerts
- Memory detail → Post interactions: supports engagement
- Saved memories → Post interactions: reads bookmarks
- Appwrite data and media → Appwrite client: uses