How sussyback99/tollky works
Tollky is a browser-based community feed: visitors load shared content, browse communities, search and vote; registered users can create posts and communities, and delete their own posts. The single runtime module also handles account registration/login, client-side session and vote state, hash routing, and rendering. JSONBin is the remote record store; browser localStorage holds the current username and per-post votes. The repository has no README, so capabilities and relationships here are based on the sampled app.js only.
Main entry points: app.js App runtime
Components 12
Browser application
- App runtime
app.js - Hash routing
app.js
Community content
- Feed and search
app.js - Community browsing
app.js - Post authoring
app.js - Post voting
app.js - Post deletion
app.js
Accounts and session
- Registration and login
app.js - Session state
app.js
Persistence
- JSONBin record
- Browser localStorage
Other components
- Visitor
Connections 20
- Visitor → App runtime: uses
app.js - App runtime → JSONBin record: loads and saves
app.js - App runtime → Session state: initializes and renders
app.js - Session state → Browser localStorage: reads and writes
app.js - App runtime → Hash routing: registers hash changes
app.js - Hash routing → Community browsing: selects community
app.js - Hash routing → Feed and search: renders feed
app.js - App runtime → Feed and search: renders and searches
app.js - App runtime → Community browsing: creates communities
app.js - App runtime → Post authoring: creates posts
app.js - App runtime → Post voting: handles votes
app.js - Post voting → Browser localStorage: saves votes
app.js - App runtime → Post deletion: handles deletion
app.js - App runtime → Registration and login: submits credentials
app.js - Registration and login → Session state: sets session
app.js - Registration and login → JSONBin record: saves new account
app.js - Post authoring → JSONBin record: persists posts
app.js - Community browsing → JSONBin record: persists communities
app.js - Post voting → JSONBin record: persists scores
app.js - Post deletion → JSONBin record: persists deletion
app.js