How danadora86/greenshare-tool-library works
GreenShare is an early-stage community tool-library web app. The implemented user-to-result flow is the home page requesting a server-rendered library list, which reads library records from Firestore. The shared layout supplies navigation, but search, reservations, and admin management are documented goals rather than implemented workflows in the sampled source. Firebase Auth is initialized but no authentication flow is shown. The graph focuses on the implemented path; source coverage is limited to the provided excerpts.
Main entry points: LibraryList.js Library list · layout.js App layout · page.js Home page · firebase.js Firebase client
Components 6
Web experience
- App layout
app/layout.js - Home page
app/page.js
Library catalog
- Library list
components/LibraryList.js
Firebase services
- Firebase client
lib/firebase.js - Firestore
Other components
- Visitor
Connections 6
- Visitor → App layout: opens app
app/layout.js - App layout → Home page: wraps page
app/layout.js - Home page → Library list: renders
app/page.js - Library list → Firestore: reads libraries
components/LibraryList.js - Library list → Firebase client: uses database
components/LibraryList.js - Firebase client → Firestore: initializes client
lib/firebase.js